CVE-2020-29142 SQL injection in n/a

High 7.2 Published Updated

Remote authenticated attackers can execute arbitrary SQL commands in OpenEMR when facility restrictions are enabled, potentially compromising patient data.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2020-29142?

CVE-2020-29142 is a high-severity SQL injection vulnerability in Open-Emr Openemr, published on 15 Feb 2021. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A SQL injection vulnerability in interface/usergroup/usergroup_admin.php in OpenEMR before 5.0.2.5 allows a remote authenticated attacker to execute arbitrary SQL commands via the schedule_facility parameter when restrict_user_facility=on is in global settings.

Weakness: CWE-89

Which versions are affected by CVE-2020-29142?

It affects 1 product.

Products include Open-Emr Openemr.

How do I fix CVE-2020-29142?

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

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

All Open-Emr Openemr vulnerabilities

Sources

Also known as GHSA-4v3q-9jqp-58m8.

Is CVE-2020-29142 in your software?

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

Check your SBOMs for free