CVE-2020-7939 Plone SQL Injection Vulnerability

High 8.8 Published Updated

SQL injection in Plone allows authenticated users to execute arbitrary SQL queries, potentially exposing or modifying database contents.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-7939?

CVE-2020-7939 is a high-severity SQL injection vulnerability in Plone Plone, published on 23 Jan 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

SQL Injection in DTML or in connection objects in Plone 4.0 through 5.2.1 allows users to perform unwanted SQL queries. (This is a problem in Zope.)

Weakness: CWE-89

Which versions are affected by CVE-2020-7939?

3 open source packages ship an affected version, including plone and Plone. It affects 1 product.

PackageAffectedFixed in
plone PyPIFrom 4.0 to 5.2.1None
plone PyPIFrom 4.05.2.2
Plone PyPIFrom 4.0 to 5.2.1None

Products include Plone Plone.

How do I fix CVE-2020-7939?

Upgrade plone to 5.2.2 or later.

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-7939 being exploited?

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

All Plone Plone vulnerabilities

Sources

Also known as GHSA-hhmf-7rgg-gcw5, PYSEC-2020-88.

Is CVE-2020-7939 in your software?

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

Check your SBOMs for free