CVE-2012-0053: Medium severity Apache HTTP Server vulnerability

Published Jan 27, 2012
·
Updated

A flaw was found in the default error response for status code 400. This could be used by an attacker to expose "httpOnly" cookies, when no custom ErrorDocument was specified.

This affects all versions of Apache from 2.2.0 up to and including 2.2.21. It will be fixed upstream in 2.2.22 (via r1235454 [1]).

[1] http://svn.apache.org/viewvc?view=revision&revision=1235454

Other sources

protocol.c in the Apache HTTP Server 2.2.x through 2.2.21 does not properly restrict header information during construction of Bad Request (aka 400) error documents, which allows remote attackers to obtain the values of HTTPOnly cookies via vectors involving a (1) long or (2) malformed header in conjunction with crafted web script.

Affected Software

17 affected componentsFixes available
redhat/httpd<2.2.22
2.2.22
Apache HTTP Server>=2.0.0<2.0.65
Apache HTTP Server>=2.2.0<2.2.22
Debian Debian Linux=5.0
Debian Debian Linux=6.0
Debian Debian Linux=7.0
openSUSE openSUSE=11.4
SUSE Linux Enterprise Server=10-sp4
SUSE Linux Enterprise Software Development Kit=10-sp4
redhat Storage=2.0
redhat Enterprise Linux Desktop=6.0
redhat Enterprise Linux Eus=6.2
redhat Enterprise Linux Server=6.0
redhat Enterprise Linux Workstation=6.0
redhat Jboss Enterprise Web Server=1.0.0
redhat Enterprise Linux=5.0
redhat Enterprise Linux=6.0

Event History

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

Frequently Asked Questions

1

Is there a workaround for CVE-2012-0053?

A workaround for CVE-2012-0053 is to specify a custom ErrorDocument to prevent default error responses.

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