Cyber Resilience

CVE-2023-7173

MediumPublic PoC

Published: 30 December 2023

Published
30 December 2023
Modified
21 November 2024
KEV Added
Patch
CVSS Score v3.1 4.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
EPSS Score 0.1142 93.7th percentile
Risk Priority 15 60% EPSS · 20% KEV · 20% CVSS

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

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

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1539 Steal Web Session Cookie Credential Access
An adversary may steal web application or service session cookies and use them to gain access to web applications or Internet services as an authenticated user without needing credentials.
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

phpgurukul
hospital management system
1.0

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.

addresses: CWE-79

Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.

addresses: CWE-79

Validates web inputs to reject script-related content that could produce XSS.

addresses: CWE-79

Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.

References