—
PYSEC-2009-3
Quick fix
PYSEC-2009-3 — django: upgrade to the fixed version with the command below.
pip install --upgrade 'django>=1.1'Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- http://www.securityfocus.com/bid/35859[WEB]
- http://code.djangoproject.com/changeset/11353[WEB]
- http://www.djangoproject.com/weblog/2009/jul/28/security/[ARTICLE]
- http://www.openwall.com/lists/oss-security/2009/07/29/2[WEB]
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=539134[WEB]
- http://secunia.com/advisories/36137[ADVISORY]
- http://secunia.com/advisories/36153[ADVISORY]
- https://www.redhat.com/archives/fedora-package-announce/2009-August/msg00055.html[WEB]
- https://www.redhat.com/archives/fedora-package-announce/2009-August/msg00069.html[WEB]
- https://github.com/advisories/GHSA-9xg7-gg9m-rmq9[ADVISORY]