Input validation error in Apache HTTP Server - CVE-2012-0021

 

Input validation error in Apache HTTP Server - CVE-2012-0021

Published: January 28, 2012 / Updated: July 28, 2020


Vulnerability identifier: #VU32825
CSH Severity: Low
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-0021
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to perform service disruption.

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.


Affected software

Apache HTTP Server
HP OpenView Network Node Manager
Ubuntu
Slackware Linux
apache2 (Alpine package)
apache2.2-common (Ubuntu package)
HP-UX Web Server Suite

How to mitigate CVE-2012-0021

Install update from vendor's website.

Apache HTTP Server - update to 2.2.22
apache2 (Alpine package) - update to 2.2.22-r0
apache2.2-common (Ubuntu package) - addressed in versions 2.2.8-1ubuntu0.23, 2.2.14-5ubuntu8.8, 2.2.16-1ubuntu3.5, 2.2.17-1ubuntu1.5, 2.2.20-1ubuntu1.2
HP-UX Web Server Suite - addressed in versions 2.35, 3.23

External References

Related Security Bulletins