HIGH 7.5 PyPI

Django Might Allow CSRF Requests via URL Verification

GHSA-wxg3-mfph-qg9w · CVE-2011-4138 · PYSEC-2011-3

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes