CVE-2012-5489: Zope2 Plone And Zope2 Vulnerable To Vulnerability
HIGHCVE-2012-5489 is a HIGH (CVSS 6.5) plone and zope2 vulnerable to vulnerability (CWE-863: Incorrect Authorization) affecting Zope2 libraries in the PyPI ecosystem. The issue involves plone and zope2 vulnerable to unauthorized access to restricted attributes. Remediation is available by upgrading affected packages to version 2.12.21, 2.13.11, 4.2.3, 4.3b1.
CVE-2012-5489 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2012-5489
To remediate this vulnerability, upgrade all affected Zope2 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install Zope2>=2.12.21
pip install Zope2>=2.13.11
pip install Plone>=4.2.3
pip install Plone>=4.3b1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show Zope2
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2012-5489, inspect your installed packages using pip:
pip show Zope2
Analyze the terminal output to locate any version of Zope2 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.12.21), your application is affected.
Note: The pip show Zope2 command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In Zope2, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2012-5489 Affected Zope2 Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
Zope2
|
PyPI |
< 2.12.21
|
2.12.21
|
|
Zope2
|
PyPI |
≥ 2.13.0
< 2.13.11
|
2.13.11
|
|
Plone
|
PyPI |
≥ 3.2.2
< 4.2.3
|
4.2.3
|
|
Plone
|
PyPI |
≥ 4.3a1
< 4.3b1
|
4.3b1
|
References
Frequently Asked Questions
What is CVE-2012-5489?
Which Zope2 versions are affected?
What version fixes CVE-2012-5489?
Is Zope2 affected?
Is Plone affected?
What is the CVSS score of CVE-2012-5489?
What CWE is associated with CVE-2012-5489?
How can I check PyPI dependencies for CVE-2012-5489?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-879r-7f3w-8jj3",
"modified" : "2024-10-11T20:52:23Z",
"published" : "2018-07-23T19:52:06Z",
"aliases" : [ "CVE-2012-5489" ],
"summary" : "Plone and Zope2 vulnerable to unauthorized access to restricted attributes",
"details" : "The App.Undo.UndoSupport.get_request_var_or_attr function in Zope before 2.12.21 and 3.13.x before 2.13.11, as used in Plone before 4.2.3 and 4.3 before beta 1, allows remote authenticated users to gain access to restricted attributes via unspecified vectors.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "Zope2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.12.21"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "Zope2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.13.0"
}, {
"fixed" : "2.13.11"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "Plone"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.2.2"
}, {
"fixed" : "4.2.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "Plone"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.3a1"
}, {
"fixed" : "4.3b1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 4.3a2"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-5489"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/zope2/+bug/1079238"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-879r-7f3w-8jj3"
}, {
"type" : "WEB",
"url" : "https://github.com/plone/Products.CMFPlone/blob/4.2.3/docs/CHANGES.txt"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/plone/PYSEC-2014-31.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/zope2/PYSEC-2014-74.yaml"
}, {
"type" : "WEB",
"url" : "https://plone.org/products/plone-hotfix/releases/20121106"
}, {
"type" : "WEB",
"url" : "https://plone.org/products/plone/security/advisories/20121106/05"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2012/11/10/1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-863" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:24:39Z",
"nvd_published_at" : null
}
}