{"id":"CVE-2009-2659","aliases":["DEBIAN-CVE-2009-2659","EUVD-2009-0003","GHSA-9xg7-gg9m-rmq9","PYSEC-2009-3"],"status":"published","title":"Django Admin Media Handler Vulnerable to Directory Traversal","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.","severity":{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02265,"percentile":0.83127,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2009-08-04T16:13:00Z","modified":"2026-10-23T17:47:27Z","fixes":[{"ecosystem":"PyPI","package":"django","fixed_in":["0.96.4","1.0.3","1.1"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"python-django","fixed_in":["1.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"python-django","fixed_in":["1.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"python-django","fixed_in":["1.1-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.96.0"},{"fixed":"0.96.4"}]}]},{"source":"ghsa","ecosystem":"PyPI","package":"django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.0.3"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1-1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.96.0"},{"fixed":"0.96.4"}]}]},{"source":"osv","ecosystem":"PyPI","package":"django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.0.3"}]}],"versions":["1.0.1","1.0.2"]},{"source":"osv","ecosystem":"PyPI","package":"django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1"}]}],"versions":["1.0.1","1.0.2","1.0.3","1.0.4"]}],"products":[{"vendor":"django_project","product":"django"}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2009/07/29/2","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/35859","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://code.djangoproject.com/changeset/11353","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=539134","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2009-August/msg00055.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://secunia.com/advisories/36137","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/36153","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2009-August/msg00069.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://www.djangoproject.com/weblog/2009/jul/28/security/","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","advisory","fix","article"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2009-2659","tags":["advisory"]},{"url":"https://github.com/django/django/commit/da85d76fd6ca846f3b0ff414e042ddb5e62e2e69","tags":["web"]},{"url":"https://github.com/django/django/commit/df7f917b7f51ba969faa49d000ffc79572c5dcb4","tags":["web"]},{"url":"https://web.archive.org/web/20111211001428/http://www.securityfocus.com/bid/35859","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2009-3.yaml","tags":["web"]},{"url":"http://www.djangoproject.com/weblog/2009/jul/28/security","tags":["web"]},{"url":"https://github.com/advisories/GHSA-9xg7-gg9m-rmq9","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2009-2659","tags":["advisory"]},{"url":"https://github.com/django/django","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2009-2659","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.","status":"published","published":"2009-08-04T16:13:00Z","modified":"2024-08-07T05:59:56.995Z","updated_at":"2026-11-02T14:33:23.395558Z"}],"euvd":[{"id":"EUVD-2009-0003","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.","status":"published","published":"2009-08-04T16:13:00Z","modified":"2024-08-07T05:59:56Z","updated_at":"2026-11-03T01:39:17.005545Z"}],"ghsa":[{"id":"GHSA-9xg7-gg9m-rmq9","title":"Django Admin Media Handler Vulnerable to Directory Traversal","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.","status":"published","published":"2022-05-02T03:37:17Z","modified":"2024-09-16T22:08:51Z","cvss":[{"version":"4.0","score":8.7,"vector":"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","level":"high"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:38:03.800952Z"}],"nvd":[{"id":"CVE-2009-2659","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.","status":"published","published":"2009-08-04T16:30:00.437Z","modified":"2026-06-16T23:09:56.243Z","cvss":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:01:36.200173Z"}],"osv":[{"id":"GHSA-9xg7-gg9m-rmq9","title":"Django Admin Media Handler Vulnerable to Directory Traversal","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.","status":"published","published":"2022-05-02T03:37:17Z","modified":"2024-09-16T22:21:42.285753Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"},{"version":"4.0","score":8.7,"vector":"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","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:44.225359Z"},{"id":"CVE-2009-2659","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.","status":"published","published":"2009-08-04T16:30:00Z","modified":"2026-04-10T03:40:50.371155Z","updated_at":"2026-11-02T15:43:57.714116Z"},{"id":"DEBIAN-CVE-2009-2659","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.","status":"published","published":"2009-08-04T16:30:00.437Z","modified":"2026-10-23T17:47:27.327972022Z","updated_at":"2026-11-02T15:45:24.013654Z"},{"id":"PYSEC-2009-3","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.","status":"published","published":"2009-08-04T16:30:00Z","modified":"2026-06-10T17:00:50.94229752Z","updated_at":"2026-11-02T15:52:51.254177Z"}]}}
