Skip to content
OpenAdvisories
High · 7.5 CVE-2009-2659 EUVD-2009-0003GHSA-9xg7-gg9m-rmq9PYSEC-2009-3

Django Admin Media Handler Vulnerable to Directory Traversal

Published Aug 4, 2009 · Updated Aug 7, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-django 1.1-1 —
Debian 13 python-django 1.1-1 —
Debian 12 python-django 1.1-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI django >= 0.96.0, < 0.96.4 0.96.4 GHSA-9xg7-gg9m-rmq9
PyPI django >= 1.0, < 1.0.3 1.0.3 GHSA-9xg7-gg9m-rmq9
PyPI django < 1.1 1.1 PYSEC-2009-3

References