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/Stored Xss
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 (21 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: Human Resource Management System v1.0 - Normal user Apply leave "Reason" Parameter = Persistent XSS | |
| # Exploit Author: Pratik Shetty | |
| # Vendor Name: oretnom23 | |
| # Vendor Homepage: https://www.sourcecodester.com/php/15740/human-resource-management-system-project-php-and-mysql-free-source-code.html | |
| # Software Link: https://www.sourcecodester.com/php/15740/human-resource-management-system-project-php-and-mysql-free-source-code.html | |
| # Version: v1.0 | |
| # Tested on: Windows 10, Apache | |
| # CVE: CVE-2022-3502 | |
| Description: | |
| A Persistent XSS issue in Human Resource Management System v1.0 allows to inject Arbitrary JavaScript in "Reason" Parameter. | |
| Parameter: | |
| Leave Apply = Reason | |
| Payload: | |
| <script>prompt(1)</script> | |
| Steps: | |
| 1) Login as a normal user | |
| 2) Now in that we can see an tab named "Leave" in that go to "Apply" | |
| 3) The Parameter "Reason" in this we put our payload. | |
| Payload: <script>prompt(1)</script> | |
| 4) Now fill the other details and save the file | |
| 5) Go to "Application" and we can see that our Payload has been executed. |