CVE-2020-27238 SQL injection in OpenClinic

Medium 6.4 Published Updated

Unauthenticated SQL injection in OpenClinic GA allows attackers to read or modify database contents via the getAssets.jsp page.

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-2020-27238?

CVE-2020-27238 is a medium-severity SQL injection vulnerability in OpenClinic, published on 15 Apr 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An exploitable SQL injection vulnerability exists in ‘getAssets.jsp’ page of OpenClinic GA 5.173.3. The code parameter in the getAssets.jsp page is vulnerable to unauthenticated SQL injection. An attacker can make an authenticated HTTP request to trigger this vulnerability.

Weakness: CWE-89

Which versions are affected by CVE-2020-27238?

It affects 1 product.

Products include Openclinic Ga Project Openclinic Ga.

How do I fix CVE-2020-27238?

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

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

Sources

Also known as GHSA-pqww-9fvq-hf8c.

Is CVE-2020-27238 in your software?

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

Check your SBOMs for free