CVE-2011-4138

Medium

Description

The verify_exists functionality in the URLField implementation in Django before 1.2.7 and 1.3.x before 1.3.1 originally tests a URL's validity through a HEAD request, but then uses a GET request for the new target URL in the case of a redirect, which might allow remote attackers to trigger arbitrary GET requests with an unintended source IP address via a crafted Location header.

SeverityMedium
CVSS5.0
Exploit probability—
ProductDjango
PublishedOct 19, 2011
First seenOct 19, 2011

How to fix

Update
  • django1.2.7, 1.3.1 or later

Affected products

ProductAffected versionsFixed in
djangoproject djangov ≤ 1.2.6, 0.91, 0.95, 0.95.1, 0.96, 1.0, 1.0.1, 1.0.2, 1.1, 1.1.0, 1.1.2, 1.1.3, 1.2, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.3—
djangoPyPIv < 1.2.7, 1.3 ≤ v < 1.3.11.2.7, 1.3.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.