Django Admin Media Handler Vulnerable to Directory Traversal
High severity
GitHub Reviewed
Published
May 2, 2022
to the GitHub Advisory Database
•
Updated Sep 16, 2024
Package
Affected versions
>= 0.96.0, < 0.96.4
>= 1.0, < 1.0.3
Patched versions
0.96.4
1.0.3
Description
Published by the National Vulnerability Database
Aug 4, 2009
Published to the GitHub Advisory Database
May 2, 2022
Reviewed
Feb 8, 2024
Last updated
Sep 16, 2024
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