cbcvebase.
CVE-2022-32094
published 2022-07-01

CVE-2022-32094: Hospital Management System v1.0 was discovered to contain a SQL injection vulnerability via the loginid parameter at doctorlogin.php.

PriorityP358critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EXPLOIT
EPSS
7.54%
93.7th percentile
Hospital Management System v1.0 was discovered to contain a SQL injection vulnerability via the loginid parameter at doctorlogin.php.

Affected

1 ranges
VendorProductVersion rangeFixed in
hospital_management_system_projecthospital_management_system

Detection & IOCsextracted from sources · hover to see the quote

path/HMS/doctor.php
path/hms/doctor/
commandusername=admin%27+or+%271%27%3D%271%27%23&password=admin%27+or+%271%27%3D%271%27%23&submit=
  • POST request to /hms/doctor/ with SQL injection payload in username and password fields (auth-bypass via OR 1=1# pattern); successful exploitation returns HTTP 200 with body containing 'Doctor | Dashboard' and 'View Appointment History'.
  • Shodan/FOFA fingerprinting: identify exposed Hospital Management System instances via HTML body keyword 'Hospital Management System' or 'hospital management system'.
  • The vulnerable parameter is 'editid' in /HMS/doctor.php and 'loginid' in doctorlogin.php; monitor POST requests to these endpoints for SQL metacharacters (quotes, OR, comment sequences).
  • ·The NVD entry references the 'loginid' parameter at doctorlogin.php, while the Nuclei template targets the 'editid' parameter at /HMS/doctor.php and uses a login endpoint at /hms/doctor/. The two sources describe slightly different injection points within the same product, so detection rules should cover both paths.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.