CVE-2012-2144: Horizon OpenStack Horizon Session Fixation Vulnerability
MODERATECVE-2012-2144 is a MODERATE openstack horizon session fixation vulnerability (CWE-384: Session Fixation) affecting Horizon libraries in the PyPI ecosystem. The issue involves openstack horizon session fixation. Remediation is available by upgrading affected packages to version 8.0.0a0.
CVE-2012-2144 at a Glance
How to Fix CVE-2012-2144
To remediate this vulnerability, upgrade all affected Horizon 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 horizon>=8.0.0a0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show horizon
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2012-2144, inspect your installed packages using pip:
pip show horizon
Analyze the terminal output to locate any version of Horizon in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 8.0.0a0), your application is affected.
Note: The pip show horizon command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-384: Session Fixation, where authenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions. In Horizon, 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-2144 Affected Horizon Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
horizon
|
PyPI |
< 8.0.0a0
|
8.0.0a0
|
References
Frequently Asked Questions
What is CVE-2012-2144?
Which Horizon versions are affected?
What version fixes CVE-2012-2144?
Is horizon affected?
What CWE is associated with CVE-2012-2144?
How can I check PyPI dependencies for CVE-2012-2144?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w7h9-8wr4-hwqh",
"modified" : "2024-11-21T21:49:52Z",
"published" : "2022-05-17T01:46:39Z",
"aliases" : [ "CVE-2012-2144" ],
"summary" : "OpenStack Horizon Session Fixation",
"details" : "Session fixation vulnerability in OpenStack Dashboard (Horizon) folsom-1 and 2012.1 allows remote attackers to hijack web sessions via the sessionid cookie.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "horizon"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "8.0.0a0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-2144"
}, {
"type" : "WEB",
"url" : "https://github.com/openstack/horizon/commit/041b1c44c7d6cf5429505067c32f8f35166a8bab"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/horizon/+bug/978896"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/75423"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openstack/horizon"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/horizon/PYSEC-2012-33.yaml"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200228173630/http://www.securityfocus.com/bid/53399"
}, {
"type" : "WEB",
"url" : "http://lists.fedoraproject.org/pipermail/package-announce/2012-May/081173.html"
}, {
"type" : "WEB",
"url" : "http://secunia.com/advisories/49024"
}, {
"type" : "WEB",
"url" : "http://secunia.com/advisories/49071"
}, {
"type" : "WEB",
"url" : "http://ubuntu.com/usn/usn-1439-1"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2012/05/05/1"
}, {
"type" : "WEB",
"url" : "http://www.osvdb.org/81741"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/53399"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-384" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-01-12T18:08:49Z",
"nvd_published_at" : "2012-06-05T22:55:00Z"
}
}