CVE-2009-2659

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in pypi/Django

Identifiers

GHSA-9xg7-gg9m-rmq9, CVE-2009-2659

Package Slug

pypi/Django

Vulnerability

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

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.

Affected Versions

All versions starting from 0.96.0 before 0.96.4, all versions starting from 1.0 before 1.0.3

Solution

Upgrade to versions 0.96.4, 1.0.3 or above.

Last Modified

2024-02-09

source