#VU44586 Input validation error in Django


Published: 2011-10-19 | Updated: 2020-08-11

Vulnerability identifier: #VU44586

Vulnerability risk: Medium

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2011-4138

CWE-ID: CWE-20

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Django
Web applications / CMS

Vendor: Django Software Foundation

Description

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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

Django: 0.91 - 0.96, 1.0 - 1.3


External links
http://openwall.com/lists/oss-security/2011/09/11/1
http://openwall.com/lists/oss-security/2011/09/13/2
http://secunia.com/advisories/46614
http://www.debian.org/security/2011/dsa-2332
http://bugzilla.redhat.com/show_bug.cgi?id=737366
http://hermes.opensuse.org/messages/14700881
http://www.djangoproject.com/weblog/2011/sep/09/
http://www.djangoproject.com/weblog/2011/sep/10/127/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability