Skip to content
Permalink
main
Switch branches/tags

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?
Go to file
 
 
Cannot retrieve contributors at this time
# 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.