Miggo Logo

CVE-2012-2144:
OpenStack Horizon Session Fixation

6.8

CVSS Score

Basic Information

EPSS Score
-
Published
5/17/2022
Updated
11/21/2024
KEV Status
No
Technology
TechnologyPython

Technical Details

CVSS Vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
Package NameEcosystemVulnerable VersionsFirst Patched Version
horizonpip< 8.0.0a08.0.0a0

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stemmed from using session.clear() instead of session.flush() or cycle_key(). Clear() removes session data but preserves the session ID, enabling session fixation attacks. The patch replaced all clear() calls with user_logout (which calls flush()) and added session key cycling in auth_forms. The identified functions directly used the vulnerable session.clear() method prior to patching, as shown in the commit diffs. Each was modified in the security fix, confirming their role in the vulnerability.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

S*ssion *ix*tion vuln*r**ility in Op*nSt**k **s**o*r* (*orizon) *olsom-* *n* ****.* *llows r*mot* *tt**k*rs to *ij**k w** s*ssions vi* t** s*ssioni* *ooki*.

Reasoning

T** vuln*r**ility st*mm** *rom usin* s*ssion.*l**r() inst*** o* s*ssion.*lus*() or *y*l*_k*y(). *l**r() r*mov*s s*ssion **t* *ut pr*s*rv*s t** s*ssion I*, *n**lin* s*ssion *ix*tion *tt**ks. T** p*t** r*pl**** *ll *l**r() **lls wit* us*r_lo*out (w*i**