CVE-2009-2659: Django Admin Media Handler Vulnerable to Directory 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
- github.com/advisories/GHSA-9xg7-gg9m-rmq9
- github.com/django/django
- github.com/django/django/commit/da85d76fd6ca846f3b0ff414e042ddb5e62e2e69
- github.com/django/django/commit/df7f917b7f51ba969faa49d000ffc79572c5dcb4
- github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2009-3.yaml
- 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 →