CVE-2012-5487 Plone Sandbox Bypass

High 8.5 Published Updated

Authenticated users with specific privileges can bypass Python sandbox restrictions to execute arbitrary code in Plone.

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-2012-5487?

CVE-2012-5487 is a high-severity code injection vulnerability in Plone Plone, published on 30 Sep 2014. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The sandbox whitelisting function (allowmodule.py) in Plone before 4.2.3 and 4.3 before beta 1 allows remote authenticated users with certain privileges to bypass the Python sandbox restriction and execute arbitrary Python code via vectors related to importing.

Weakness: CWE-264

Which versions are affected by CVE-2012-5487?

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

PackageAffectedFixed in
plone PyPIAll versions4.2.3, 4.3b1
plone PyPIAll versions4.2.3
plone PyPIFrom 4.3a04.3b1
Plone PyPIAll versions4.2.3
Plone PyPIFrom 4.3a04.3b1

Products include Plone Plone.

How do I fix CVE-2012-5487?

Upgrade plone to a fixed version for your release line: 4.2.3 or 4.3b1.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2012-5487 being exploited?

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

All Plone Plone vulnerabilities

Sources

Also known as GHSA-9m4g-f42q-vrrh, PYSEC-2014-29.

Is CVE-2012-5487 in your software?

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

Check your SBOMs for free