CVE-2022-4012 Hospital Management Center patient-info.php sql injection
Remote attackers can exploit SQL injection in patient-info.php to access or modify patient data in Hospital Management Center.
- 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-4012?
CVE-2022-4012 is a medium-severity SQL injection vulnerability in unspecified Hospital Management Center, published on 16 Nov 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability classified as critical has been found in Hospital Management Center. Affected is an unknown function of the file patient-info.php. The manipulation of the argument pt_id leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. VDB-213786 is the identifier assigned to this vulnerability.
Which versions are affected by CVE-2022-4012?
It affects 1 product.
Products include Hospital Management Center Project Hospital Management Center.
How do I fix CVE-2022-4012?
No fix has been published for CVE-2022-4012 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-4012 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-4012 exists.
Other vulnerabilities in unspecified Hospital Management Center
Sources
Also known as GHSA-c2xw-mj3m-66cw.