CVE-2018-15149 SQL injection in n/a

High 8.8 Published Updated

Remote authenticated attackers can execute arbitrary SQL commands via the encounter parameter in OpenEMR, potentially accessing or modifying sensitive medical data.

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-2018-15149?

CVE-2018-15149 is a high-severity SQL injection vulnerability in Open-Emr Openemr, published on 15 Aug 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

SQL injection vulnerability in interface/forms/eye_mag/php/Anything_simple.php from library/forms.inc in versions of OpenEMR before 5.0.1.4 allows a remote authenticated attacker to execute arbitrary SQL commands via the 'encounter' parameter.

Weakness: CWE-89

Which versions are affected by CVE-2018-15149?

It affects 1 product.

Products include Open-Emr Openemr.

How do I fix CVE-2018-15149?

No fix has been published for CVE-2018-15149 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-2018-15149 being exploited?

There is no known exploitation of CVE-2018-15149 in the wild and no public exploit code.

All Open-Emr Openemr vulnerabilities

Sources

Also known as GHSA-87rv-5pg2-g76r.

Is CVE-2018-15149 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free