CVE-2022-24831 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in OpenClinica
Attackers can execute arbitrary SQL commands via string concatenation flaws, potentially reading or modifying clinical data in OpenClinica.
- 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-2022-24831?
CVE-2022-24831 is a high-severity SQL injection vulnerability in OpenClinica, published on 14 May 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
OpenClinica is an open source software for Electronic Data Capture (EDC) and Clinical Data Management (CDM). Versions prior to 3.16.1 are vulnerable to SQL injection due to the use of string concatenation to create SQL queries instead of prepared statements. No known workarounds exist. This issue has been patched in 3.16.1, 3.15.9, 3.14.1, and 3.13.1 and users are advised to upgrade.
Weakness: CWE-89
Which versions are affected by CVE-2022-24831?
It affects 1 product.
Products include Openclinica Openclinica.
How do I fix CVE-2022-24831?
No fix has been published for CVE-2022-24831 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-2022-24831 being exploited?
There is no known exploitation of CVE-2022-24831 in the wild and no public exploit code.