CVE-2021-41843 SQL injection in n/a

Medium 6.5 Published Updated

An authenticated attacker can exploit SQL injection in the calendar search function to read data from all database tables.

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-2021-41843?

CVE-2021-41843 is a medium-severity SQL injection vulnerability in Open-Emr Openemr, published on 17 Dec 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An authenticated SQL injection issue in the calendar search function of OpenEMR 6.0.0 before patch 3 allows an attacker to read data from all tables of the database via the parameter provider_id, as demonstrated by the /interface/main/calendar/index.php?module=PostCalendar&func=search URI.

Weakness: CWE-89

Which versions are affected by CVE-2021-41843?

It affects 1 product.

Products include Open-Emr Openemr.

How do I fix CVE-2021-41843?

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

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

All Open-Emr Openemr vulnerabilities

Sources

Also known as GHSA-qfp4-p59q-5c6x.

Is CVE-2021-41843 in your software?

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

Check your SBOMs for free