CVE-2012-5487 Plone Sandbox Bypass
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.
| Package | Affected | Fixed in |
|---|---|---|
plone PyPI | All versions | 4.2.3, 4.3b1 |
plone PyPI | All versions | 4.2.3 |
plone PyPI | From 4.3a0 | 4.3b1 |
Plone PyPI | All versions | 4.2.3 |
Plone PyPI | From 4.3a0 | 4.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.
Other vulnerabilities in Plone Plone
Sources
Also known as GHSA-9m4g-f42q-vrrh, PYSEC-2014-29.