CVE-2018-17181 SQL injection in n/a

Critical 9.8 Published Updated

SQL injection in OpenEMR allows attackers to read or modify database records via vulnerable audit functions.

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

CVE-2018-17181 is a critical SQL injection vulnerability in Open-Emr Openemr, published on 17 May 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in OpenEMR before 5.0.1 Patch 7. SQL Injection exists in the SaveAudit function in /portal/lib/paylib.php and the portalAudit function in /portal/lib/appsql.class.php.

Weakness: CWE-89

Which versions are affected by CVE-2018-17181?

It affects 1 product.

Products include Open-Emr Openemr.

How do I fix CVE-2018-17181?

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

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

All Open-Emr Openemr vulnerabilities

Sources

Also known as GHSA-4qrp-rfxq-585m.

Is CVE-2018-17181 in your software?

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

Check your SBOMs for free