CVE-2012-5494: Plone cross-site scripting in python_scripts

CVE-2012-5494 · Severity: low · CVSS 3.1 · Published 2014-09-30

Plone is a content management system used to build and maintain websites and intranets. An XSS vulnerability in Plone's python_scripts.py allows remote attackers to inject malicious scripts into pages, potentially allowing them to steal administrator credentials, deface content, or compromise user sessions. The attack requires minimal technical skill and no authentication.

Technologies: Plone, plone (PyPI). Vendors: Plone, PyPI.

Quick answers

Is CVE-2012-5494 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2012-5494 being exploited in the wild.
How severe is CVE-2012-5494?
Low severity, with a CVSS score of 3.1, published 30 September 2014.
Which products and versions are affected?
Plone 3.0 through 4.2.2, and 4.3a1 through 4.3a2; plone (PyPI) ECOSYSTEM:introduced=0,fixed=4.2.3,introduced=4.3a0,fixed=4.3b1.
Is there a fix for CVE-2012-5494?
Yes. plone (PyPI): upgrade to 4.3b1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2012-5494 attacked?
It is attacked over the network.
Am I affected by CVE-2012-5494?
Check whether you run Plone or plone (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • plone (PyPI): upgrade to 4.3b1 or later
    pip install "plone>=4.3b1"

Technical details

A cross-site scripting (CWE-79) vulnerability exists in python_scripts.py in Plone before version 4.2.3 and 4.3 beta 1, related to improper handling of the "translate" parameter. The vulnerability allows remote attackers to inject arbitrary JavaScript or HTML through unspecified vectors without authentication. An attacker can exploit this by sending a crafted request to an affected Plone instance, causing malicious code to be executed in the browsers of site visitors. The fix was released in Plone 4.2.3 and 4.3 beta 1.

Affected products

  • Plone Plone 3.0 through 4.2.2, and 4.3a1 through 4.3a2

Identifiers

  • CVE-2012-5494
  • GHSA-3g6w-4m7x-97v6
  • PYSEC-2014-36

Timeline

  • 2012-11-06: disclosed
  • 2012-11-06: patched: Fixed in Plone 4.2.3 and 4.3 beta 1

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.