CVE-2009-2659: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
(updated )
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.
References
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=539134
- code.djangoproject.com/changeset/11353
- www.djangoproject.com/weblog/2009/jul/28/security/
- www.openwall.com/lists/oss-security/2009/07/29/2
- github.com/advisories/GHSA-9xg7-gg9m-rmq9
- github.com/django/django/commit/da85d76fd6ca846f3b0ff414e042ddb5e62e2e69
- github.com/django/django/commit/df7f917b7f51ba969faa49d000ffc79572c5dcb4
- nvd.nist.gov/vuln/detail/CVE-2009-2659
- web.archive.org/web/20111211001428/http://www.securityfocus.com/bid/35859
- www.redhat.com/archives/fedora-package-announce/2009-August/msg00055.html
- www.redhat.com/archives/fedora-package-announce/2009-August/msg00069.html
Detect and mitigate CVE-2009-2659 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →