CVE-2022-2693 SourceCodester Electronic Medical Records System UPDATE Statement register.php sql injection
Remote attackers can exploit SQL injection in the register.php file 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-2693?
CVE-2022-2693 is a medium-severity SQL injection vulnerability in SourceCodester Electronic Medical Records System, published on 6 Aug 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability has been found in SourceCodester Electronic Medical Records System and classified as critical. This vulnerability affects unknown code of the file register.php of the component UPDATE Statement Handler. The manipulation of the argument pconsultation leads to sql injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-205816.
Weakness: CWE-89
Which versions are affected by CVE-2022-2693?
It affects 1 product.
Products include Electronic Medical Records System Project Electronic Medical Records System.
How do I fix CVE-2022-2693?
No fix has been published for CVE-2022-2693 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-2693 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-2693 exists.
Other vulnerabilities in SourceCodester Electronic Medical Records System
Sources
Also known as GHSA-jq63-q9h3-4pm6.