{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2009-2659","id":"CVE-2009-2659","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.","descriptionLong":"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.","published":"2009-08-04T16:13:00.000Z","updated":"2026-06-16T23:09:56.243Z","reserved":"2009-08-04T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"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","rating":"high","source":"GitHub"},"metrics":[{"version":"4.0","score":null,"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","rating":"high","source":"GitHub"},{"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","rating":"high","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","rating":"medium","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=0.96.0 <0.96.4",">=1.0 <1.0.3","<1.1"],"fixed":["0.96.4","1.0.3","1.1"],"advisory":"GHSA-9xg7-gg9m-rmq9"}],"cwes":["CWE-22"],"aliases":["GHSA-9xg7-gg9m-rmq9","PYSEC-2009-3"],"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://github.com/django/django","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2009-3.yaml","tags":["web"]},{"url":"https://web.archive.org/web/20111211001428/http://www.securityfocus.com/bid/35859","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"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02265,"epssPercentile":0.83435,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2009-2659","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2009-2659","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2009-2659","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9xg7-gg9m-rmq9","ok":true,"note":"GHSA-9xg7-gg9m-rmq9"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2009-2659","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":["django"],"critical":[],"attention":null}