Files
CVEs-PoC/2012/CVE-2012-0021.md
T
2025-09-29 21:09:30 +02:00

21 lines
972 B
Markdown

### [CVE-2012-0021](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0021)
![](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
The log_cookie function in mod_log_config.c in the mod_log_config module in the Apache HTTP Server 2.2.17 through 2.2.21, when a threaded MPM is used, does not properly handle a %{}C format string, which allows remote attackers to cause a denial of service (daemon crash) via a cookie that lacks both a name and a value.
### POC
#### Reference
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:150
- http://www.oracle.com/technetwork/topics/security/cpujul2012-392727.html
#### Github
- https://github.com/8ctorres/SIND-Practicas
- https://github.com/syadg123/pigat
- https://github.com/teamssix/pigat