CVE-2022-2298 SourceCodester Clinics Patient Management System Login Page index.php sql injection
Remote attackers can exploit SQL injection in the login page to access or modify patient data in the Clinics Patient Management System.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-2298?
CVE-2022-2298 is a high-severity SQL injection vulnerability in SourceCodester Clinics Patient Management System, published on 12 Jul 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
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.
Weakness: CWE-89
Which versions are affected by CVE-2022-2298?
It affects 1 product.
Products include Oretnom23 Clinic\'s Patient Management System.
How do I fix CVE-2022-2298?
No fix has been published for CVE-2022-2298 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2022-2298 being exploited?
There is no known exploitation of CVE-2022-2298 in the wild and no public exploit code.
Other vulnerabilities in SourceCodester Clinics Patient Management System
Sources
Also known as GHSA-w74x-x8mc-wwg6.