CVE-2022-2676 SourceCodester Electronic Medical Records System POST Request sql injection
Remote attackers can exploit SQL injection in the user_email parameter to read or modify database contents in the Electronic Medical Records System.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-2676?
CVE-2022-2676 is a medium-severity SQL injection vulnerability in SourceCodester Electronic Medical Records System, published on 5 Aug 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability was found in SourceCodester Electronic Medical Records System and classified as critical. Affected by this issue is some unknown functionality of the component POST Request Handler. The manipulation of the argument user_email leads to sql injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-205664.
Weakness: CWE-89
Which versions are affected by CVE-2022-2676?
It affects 1 product.
Products include Electronic Medical Records System Project Electronic Medical Records System.
How do I fix CVE-2022-2676?
No fix has been published for CVE-2022-2676 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-2676 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-2676 exists.
Other vulnerabilities in SourceCodester Electronic Medical Records System
Sources
Also known as GHSA-p3cw-9v97-c269.