CVE-2012-0053

medium
Published 2012-01-28 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
5.3

Description

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.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-18442 remote multiple verified
pilate ยท 2012-01-31

Apache - httpOnly Cookie Disclosure

Source code queued for fetch โ€” refresh in a moment.

OS impact

OSVersionStatusFixed in
debian debianbookwormfixed2.2.22-1
debian debianbullseyefixed2.2.22-1
debian debianforkyfixed2.2.22-1
debian debiansidfixed2.2.22-1
debian debiantrixiefixed2.2.22-1
suse suse11.4affected
suse suse10affected
debian debian5.0affected
debian debian6.0affected
debian debian7.0affected
redhat rhel6.0affected
redhat rhel6.2affected
redhat rhel5.0not-affected

Application impact

VendorProductVersionsFixed
apache apachehttp_server{"startIncluding":"2.0.0","endExcluding":"2.0.65"}2.0.65
redhat redhatstorage2.0
redhat redhatjboss_enterprise_web_server1.0.0
apache apachehttp_server{"startIncluding":"2.2.0","endExcluding":"2.2.22"}2.2.22

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.