Skip to content
OpenAdvisories
Medium · 4.0 CVE-2011-4136 EUVD-2011-0003GHSA-x88j-93vc-wpmpPYSEC-2011-1

Session manipulation in Django

Published Oct 19, 2011 · Updated Aug 7, 2024 · Assigned by mitre

Description

django.contrib.sessions in Django before 1.2.7 and 1.3.x before 1.3.1, when session data is stored in the cache, uses the root namespace for both session identifiers and application-data keys, which allows remote attackers to modify a session by triggering use of a key that is equal to that session's identifier.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-django 1.3.1-1 —
Debian 13 python-django 1.3.1-1 —
Debian 12 python-django 1.3.1-1 —
Debian 6.0 python-django 1.2.3-3+squeeze2 DSA-2332-1
Debian 5.0 python-django 1.0.2-1+lenny3 DSA-2332-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI django < 1.2.7 1.2.7 GHSA-x88j-93vc-wpmp
PyPI django >= 1.3, < 1.3.1 1.3.1 GHSA-x88j-93vc-wpmp
PyPI django < 1.2.7 · >= 1.3, < 1.3.1 1.2.7, 1.3.1 PYSEC-2011-1

Advisories 1

References