Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
POC/Exploit/Train Scheduler App/XSS
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
30 lines (22 sloc)
1017 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Exploit Title: Train Scheduler App - Stored XSS | |
| # Exploit Author: Pratik Shetty | |
| # Vendor Name: oretnom23 | |
| # Vendor Homepage: https://www.sourcecodester.com/php/15720/train-scheduler-app-using-php-oop-and-mysql-database-free-download.html | |
| # Software Link: https://www.sourcecodester.com/php/15720/train-scheduler-app-using-php-oop-and-mysql-database-free-download.html | |
| # Version: v1.0 | |
| # Tested on: Windows 10, Apache | |
| # CVE: CVE-2022-42992 | |
| Description:- | |
| A Stored XSS issue in Train Scheduler App v.1.0 allows to inject Arbitrary JavaScript in Edit in "Train Code", " Train Name " and "Destination". | |
| ` | |
| Payload used:- | |
| <script>confirm (document.cookie)</script> | |
| ` | |
| Parameter":- | |
| Full Name: <script>confirm (document.cookie)</script> | |
| ` | |
| Steps to reproduce:- | |
| 1. Here we go to : http://localhost/train_scheduler_app/train_scheduler_app/ | |
| 2. Now in those Parameters "Train Code", "Train Name" and "Destination" put your payload | |
| 3. Fill the other details and save the file | |
| 4. As we can see our xss has been triggered. |