CVE-2012-0021: Input Validation

Published Jan 27, 2012
·
Updated

A flaw [1] was found in modlogconfig. If an administrator configured the "%{cookiename}C" log format string to be used, a remote attacker could send a specific cookie which would cause a crash. This crash would only be a denial of service if using a threaded MPM (such as event or worker). Note that Red Hat Enterprise Linux and Fedora use the prefork MPM by default.

This will be fixed upstream [2] in 2.2.22 and affects versions 2.2.17 up to and including 2.2.21.

[1] https://issues.apache.org/bugzilla/showbug.cgi?id=52256 [2] http://svn.apache.org/viewvc?view=revision&revision=1227292

Statement:

Not vulnerable. This issue did not affect the versions of httpd as shipped with Red Hat Enterprise Linux 4, 5, or 6.

Other sources

The logcookie function in modlogconfig.c in the modlogconfig 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

6 affected componentsFixes available
redhat/httpd<2.2.22
2.2.22
Apache HTTP Server=2.2.17
Apache HTTP Server=2.2.18
Apache HTTP Server=2.2.19
Apache HTTP Server=2.2.20
Apache HTTP Server=2.2.21

Event History

Jan 27, 2012
Data Sourced
via Red Hat·06:05 AM
DescriptionSeverityAffected Software
Jan 28, 2012
CVE Published
via MITRE·02:00 AM
Data Sourced
via MITRE·02:00 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2012-0021?

CVE-2012-0021 poses a denial of service risk primarily affecting installations using a threaded multi-processing module.

2

How do I fix CVE-2012-0021?

To mitigate CVE-2012-0021, upgrade to Apache HTTP Server version 2.2.22 or later.

3

Which versions of Apache HTTP Server are affected by CVE-2012-0021?

CVE-2012-0021 affects Apache HTTP Server versions 2.2.17 through 2.2.21.

4

Is CVE-2012-0021 exploitable remotely?

Yes, CVE-2012-0021 can be exploited remotely by sending specially crafted cookies.

5

What impact does CVE-2012-0021 have on system availability?

CVE-2012-0021 can lead to a crash of the web server, resulting in temporary unavailability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203