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/Simple Online Public Access Catalog/XSS
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
29 lines (22 sloc)
1.01 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: Simple Online Public Access Catalog - Stored XSS | |
| # Exploit Author: Pratik Shetty | |
| # Vendor Name: oretnom23 | |
| # Vendor Homepage: https://www.sourcecodester.com/php/15028/simple-online-public-access-catalog-opac-using-php-and-sqlite-free-source-code.html | |
| # Software Link: https://www.sourcecodester.com/php/15028/simple-online-public-access-catalog-opac-using-php-and-sqlite-free-source-code.html | |
| # Version: v1.0 | |
| # Tested on: Windows 10, Apache | |
| # CVE: CVE-2022-42991 | |
| Description:- | |
| A stored cross-site scripting (XSS) vulnerability in Simple Online Public Access Catalog v1.0 allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the Edit Account | |
| ` | |
| Payload used:- | |
| <script>confirm (document.cookie)</script> | |
| ` | |
| Parameter":- | |
| Full Name: <script>confirm (document.cookie)</script> | |
| ` | |
| Steps to reproduce:- | |
| 1. Login into your account | |
| 2. Now go to "Edit account" near your profile | |
| 3. In that "First Name" parameter put the payload. | |
| 4. As you can see our payload has been executed. |