CVE-2009-2659
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 2.3% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.3% in the next 30 days (EPSS).
- Severity: 5.0 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.3% · EPSS, next 30 days
- Weakness
- CWE-22 · Path traversal
- Record status
- Modified
Affected
- Django Project Django 0.96
- Django Project Django 1.0
Attack profile CVSS 2.0 · 5.0
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
Raw vector
AV:N/AC:L/Au:N/C:P/I:N/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2009-2659.md and follow it. Check whether this project is affected by CVE-2009-2659. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://www.djangoproject.com/weblog/2009/jul/28/security/
- http://www.djangoproject.com/weblog/2009/jul/28/security/
References
- 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
- 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