Lack of data validation In django
Description
Django Might Allow CSRF Requests via URL Verification
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
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
pypi | 1.2.7, 1.3.1 | ||
debian 11 | 1.3.1-1 | ||
debian 12 | 1.3.1-1 | ||
debian 13 | 1.3.1-1 | ||
debian 14 | 1.3.1-1 |
Aliases
1. 2. 3. 4. 5. 6.
References
1. 2. 3. 4. 5. 6. 7. 8. 9. 10.