Input validation error in Django - CVE-2011-4138

 

Input validation error in Django - CVE-2011-4138

Published: October 19, 2011 / Updated: August 11, 2020


Vulnerability identifier: #VU44586
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2011-4138
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to gain access to sensitive information.

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.


Affected software

Django
Fedora
Django

How to mitigate CVE-2011-4138

Install update from vendor's website.

Django - update to 1.2.7-1.el6

External References

Related Security Bulletins