CVE-2011-4138: Input Validation

Published Oct 19, 2011
·
Updated

The verifyexists 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.

Other sources

The verifyexists 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.

NVD

Affected Software

24 affected componentsFixes available
pip/Django>=1.3<1.3.1
1.3.1
pip/Django<1.2.7
1.2.7
djangoproject Django<=1.2.6
djangoproject Django=0.91
djangoproject Django=0.95
djangoproject Django=0.95.1
djangoproject Django=0.96
djangoproject Django=1.0
djangoproject Django=1.0.1
djangoproject Django=1.0.2
djangoproject Django=1.1
djangoproject Django=1.1.0
djangoproject Django=1.1.2
djangoproject Django=1.1.3
djangoproject Django=1.2
djangoproject Django=1.2.1
djangoproject Django=1.2.1-2
djangoproject Django=1.2.2
djangoproject Django=1.2.3
djangoproject Django=1.2.4
djangoproject Django=1.2.5
djangoproject Django=1.3
djangoproject Django=1.3-alpha1
djangoproject Django=1.3-alpha2

Event History

Oct 19, 2011
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
May 14, 2022
Advisory Published
via GitHub·03:49 AM

Frequently Asked Questions

1

What is the severity of CVE-2011-4138?

CVE-2011-4138 has been classified as a moderate severity vulnerability.

2

How do I fix CVE-2011-4138?

To fix CVE-2011-4138, you should upgrade to Django version 1.2.7 or 1.3.1 or later.

3

What versions of Django are affected by CVE-2011-4138?

CVE-2011-4138 affects Django versions prior to 1.2.7 and 1.3.x before 1.3.1.

4

What type of attack can exploit CVE-2011-4138?

CVE-2011-4138 can be exploited by remote attackers to redirect users to arbitrary URLs.

5

Is CVE-2011-4138 fixed in Django 1.3.1?

Yes, CVE-2011-4138 has been fixed in Django version 1.3.1.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203