high7.5
CVE-2009-2659
Django Admin Media Handler Vulnerable to Directory Traversal
Impact
The Admin media handler in `core/servers/basehttp.py` in Django 1.0 and 0.96 does not properly map URL requests to expected "static media files," which allows remote attackers to conduct directory traversal attacks and read arbitrary files via a crafted URL.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | Django | >= 0.96.0, < 0.96.4 | 0.96.4 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Django Project | Django | Versions 0.96, 1.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=539134
- http://code.djangoproject.com/changeset/11353
- http://secunia.com/advisories/36137
- http://secunia.com/advisories/36153
- http://www.djangoproject.com/weblog/2009/jul/28/security/
- http://www.openwall.com/lists/oss-security/2009/07/29/2
- http://www.securityfocus.com/bid/35859
- https://www.redhat.com/archives/fedora-package-announce/2009-August/msg00055.html
- https://www.redhat.com/archives/fedora-package-announce/2009-August/msg00069.html
- https://github.com/advisories/GHSA-9xg7-gg9m-rmq9
- https://nvd.nist.gov/vuln/detail/CVE-2009-2659
- https://github.com/django/django/commit/da85d76fd6ca846f3b0ff414e042ddb5e62e2e69
- https://github.com/django/django/commit/df7f917b7f51ba969faa49d000ffc79572c5dcb4
- https://web.archive.org/web/20111211001428/http://www.securityfocus.com/bid/35859
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2009-3.yaml
- http://www.djangoproject.com/weblog/2009/jul/28/security