CVE-2022-3122
CWE-89Published: September 5, 2022· Updated: Jun 17, 2026
Official Description
A vulnerability was found in SourceCodester Clinics Patient Management System 1.0. It has been rated as critical. Affected by this issue is some unknown functionality of the file medicine_details.php. The manipulation of the argument medicine leads to sql injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. VDB-207854 is the identifier assigned to this vulnerability.
Risk Analysis
The SourceCodester Clinics Patient Management System is vulnerable to SQL injection via the medicine argument in medicine_details.php. This critical flaw allows remote attackers to manipulate database queries.
Public exploit information has been disclosed for this vulnerability, though it is not in the CISA KEV catalog.
Review the application code to implement parameterized queries and sanitize all user inputs.
Technical Analysis
CVE-2022-3122 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-3122 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts