CVE-2012-2115 SQL injection in n/a
Remote attackers can execute arbitrary SQL commands via the login page, potentially accessing or modifying patient data.
- 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-2012-2115?
CVE-2012-2115 is a high-severity SQL injection vulnerability in Open-Emr Openemr, published on 9 Sep 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
SQL injection vulnerability in interface/login/validateUser.php in OpenEMR 4.1.0 and possibly earlier allows remote attackers to execute arbitrary SQL commands via the u parameter.
Weakness: CWE-89
Which versions are affected by CVE-2012-2115?
It affects 1 product.
Products include Open-Emr Openemr.
How do I fix CVE-2012-2115?
No fix has been published for CVE-2012-2115 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-2012-2115 being exploited?
There is no known exploitation of CVE-2012-2115 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Open-Emr Openemr
- CVE-2026-24898 OpenEMR has an Unauthenticated MedEx Token Disclosure
- CVE-2026-24849 OpenEMR Arbitrary File Read Vulnerability
- CVE-2026-24908 OpenEMR has SQL Injection in Patient API Sort Parameter
- CVE-2022-2734 Improper Restriction of Rendered UI Layers or Frames in openemr/openemr
- CVE-2024-22611 SQL injection in n/a
Sources
Also known as GHSA-4v8h-358m-9fvj.