CVE-2023-7173
Published: 30 December 2023
Summary
CVE-2023-7173 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Phpgurukul Hospital Management System. Its CVSS base score is 4.3 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 6.3% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
A cross-site scripting vulnerability exists in PHPGurukul Hospital Management System 1.0 within the registration.php file. Manipulation of the First Name argument permits injection of malicious scripts, assigned CWE-79 and rated 4.3 on CVSS 3.1 with network attack vector and no required privileges.
An unauthenticated remote attacker can supply crafted input during registration to trigger script execution in victims' browsers. The attack achieves limited impact on integrity while leaving confidentiality and availability unaffected, and a working exploit has been made public.
Public references consist of a GitHub repository and shared proof-of-concept files along with Vuldb entries; none of these sources describe vendor patches, workarounds, or official mitigation steps. The associated EPSS score has remained flat at 0.1142 with no observed increase after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-59354
Vulnerability details
A vulnerability, which was classified as problematic, was found in PHPGurukul Hospital Management System 1.0. This affects an unknown part of the file registration.php. The manipulation of the argument First Name leads to cross site scripting. It is possible to…
more
initiate the attack remotely. The exploit has been disclosed to the public and may be used. The identifier VDB-249357 was assigned to this vulnerability.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
Stored XSS in registration.php enables exploitation of a public-facing web application (T1190). The injected payload executes in victims' browsers upon login, stealing session cookies (T1539) as demonstrated in the PoC.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.
Validates web inputs to reject script-related content that could produce XSS.
Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.