CVE-2022-2298
CWE-89Published: July 12, 2022· Updated: Jun 17, 2026
Official Description
A vulnerability has been found in SourceCodester Clinics Patient Management System 2.0 and classified as critical. Affected by this vulnerability is an unknown functionality of the file /pms/index.php of the component Login Page. The manipulation of the argument user_name with the input admin' or '1'='1 leads to sql injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.
Risk Analysis
SourceCodester Clinics Patient Management System 2.0 is vulnerable to SQL injection via the login page. This critical flaw allows remote attackers to bypass authentication, and the availability of a public exploit makes it an urgent concern.
A proof-of-concept exploit has been disclosed to the public, though the vulnerability is not in the CISA KEV catalog.
Users should discontinue use of the vulnerable software or apply vendor-supplied patches if available, as the system is currently exposed to remote exploitation.
Technical Analysis
CVE-2022-2298 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
From a weakness classification perspective (CWE-89): SQL injection vulnerabilities allow attackers to manipulate database queries, potentially exposing or modifying sensitive data.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (4)
Quick Facts
Related CVEs (CWE-89)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2022-2298 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts