CVE-2009-2659
HIGH7.5EPSS 1.4%Django Admin Media Handler Vulnerable to Directory Traversal
Published: 5/2/2022Modified: 4/28/2026
Description
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 (3)
- Debian/python-djangofrom 0, < 1.1-1
- PyPI/django>= 0.96.0, < 0.96.4
- PyPI/djangofrom 0, < 1.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
References (17)
- ADVISORYhttp://secunia.com/advisories/36137
- ADVISORYhttp://secunia.com/advisories/36153
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2009-2659
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2009-2659
- ADVISORYhttp://www.djangoproject.com/weblog/2009/jul/28/security/
- PATCHhttps://github.com/django/django
- WEBhttp://bugs.debian.org/cgi-bin/bugreport.cgi?bug=539134
- WEBhttp://code.djangoproject.com/changeset/11353
- WEBhttps://github.com/django/django/commit/da85d76fd6ca846f3b0ff414e042ddb5e62e2e69
- WEBhttps://github.com/django/django/commit/df7f917b7f51ba969faa49d000ffc79572c5dcb4
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2009-3.yaml
- WEBhttps://web.archive.org/web/20111211001428/http://www.securityfocus.com/bid/35859
- WEBhttps://www.redhat.com/archives/fedora-package-announce/2009-August/msg00055.html
- WEBhttps://www.redhat.com/archives/fedora-package-announce/2009-August/msg00069.html
- WEBhttp://www.djangoproject.com/weblog/2009/jul/28/security
- WEBhttp://www.openwall.com/lists/oss-security/2009/07/29/2
- WEBhttp://www.securityfocus.com/bid/35859