Files
CVEs-PoC/2021/CVE-2021-33571.md
2025-09-29 21:09:30 +02:00

21 lines
1013 B
Markdown

### [CVE-2021-33571](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-33571)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brightgreen)
### Description
In Django 2.2 before 2.2.24, 3.x before 3.1.12, and 3.2 before 3.2.4, URLValidator, validate_ipv4_address, and validate_ipv46_address do not prohibit leading zero characters in octal literals. This may allow a bypass of access control that is based on IP addresses. (validate_ipv4_address and validate_ipv46_address are unaffected with Python 3.9.5+..) .
### POC
#### Reference
- https://groups.google.com/g/django-announce/c/sPyjSKMi8Eo
#### Github
- https://github.com/20142995/nuclei-templates
- https://github.com/ARPSyndicate/cvemon
- https://github.com/bygregonline/devsec-fastapi-report
- https://github.com/cyb3r-w0lf/nuclei-template-collection