CVE-2020-7939 Plone SQL Injection Vulnerability
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.
| Package | Affected | Fixed in |
|---|---|---|
plone PyPI | From 4.0 to 5.2.1 | None |
plone PyPI | From 4.0 | 5.2.2 |
Plone PyPI | From 4.0 to 5.2.1 | None |
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.
Other vulnerabilities in Plone Plone
Sources
Also known as GHSA-hhmf-7rgg-gcw5, PYSEC-2020-88.