CVE-2020-27240 SQL injection in OpenClinic

Medium 6.4 Published Updated

An attacker can exploit an unauthenticated SQL injection in OpenClinic GA to read or modify database contents via the componentStatus parameter.

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-27240?

CVE-2020-27240 is a medium-severity SQL injection vulnerability in OpenClinic, published on 19 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 componentStatus 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-27240?

It affects 1 product.

Products include Openclinic Ga Project Openclinic Ga.

How do I fix CVE-2020-27240?

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

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

Sources

Also known as GHSA-j7x2-649w-mxwh.

Is CVE-2020-27240 in your software?

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

Check your SBOMs for free