GitHub Advisory Database
GHSA-x88j-93vc-wpmp
Session manipulation in Django
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | django | All versions before 1.2.7 (fixed in 1.2.7) |
| PyPI | django | From 1.3 before 1.3.1 (fixed in 1.3.1) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2011-4136
- https://github.com/django/django/commit/ac7c3a110f906e4dfed3a17451bf7fd9fcb81296
- https://github.com/django/django/commit/fbe2eead2fa9d808658ca582241bcacb02618840
- https://bugzilla.redhat.com/show_bug.cgi?id=737366
- https://github.com/advisories/GHSA-x88j-93vc-wpmp
- https://github.com/django/django
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2011-1.yaml
- https://hermes.opensuse.org/messages/14700881
- https://www.djangoproject.com/weblog/2011/sep/09
- https://www.djangoproject.com/weblog/2011/sep/10/127
- http://openwall.com/lists/oss-security/2011/09/11/1
- http://openwall.com/lists/oss-security/2011/09/13/2
- http://www.debian.org/security/2011/dsa-2332