CVE-2021-43094 SQL injection in n/a
Attackers can execute arbitrary SQL commands via GET requests in OpenMRS Standalone Edition, 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-2021-43094?
CVE-2021-43094 is a critical SQL injection vulnerability in n/a, published on 10 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An SQL Injection vulnerability exists in OpenMRS Reference Application Standalone Edition <=2.11 and Platform Standalone Edition <=2.4.0 via GET requests on arbitrary parameters in patient.page.
Weakness: CWE-89
Which versions are affected by CVE-2021-43094?
It affects 2 products.
Products include Openmrs Openmrs, Openmrs Reference Application.
How do I fix CVE-2021-43094?
No fix has been published for CVE-2021-43094 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-43094 being exploited?
There is no known exploitation of CVE-2021-43094 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2018-19276 Deserialization in n/a
- CVE-2017-12796 Deserialization in n/a
- CVE-2026-40076 OpenMRS Core arbitrary file write and code execution via Zip Slip in module upload
- CVE-2026-40075 OpenMRS Core arbitrary file read via path traversal in ModuleResourcesServlet
- CVE-2025-25928 Cross-site request forgery in n/a
Sources
Also known as GHSA-8745-257h-qrqp.