All vulnerabilities

Servers and applications

CVE-2012-0053

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.

Severity
Medium 4.3
Published
28 Jan 2012
Last changed
16 Jun 2026
Added to UpHeron
17 Oct 2026
Fixed in
2.0.65, 2.2.22
Exploit chance
82% in the next 30 daysHigher than 99% of CVEs. EPSS by FIRST, 12 Nov 2026
Attack
Over the network · No login needed
Attacker can
Read some data
CVSS vector
AV:N/AC:M/Au:N/C:P/I:N/A:N
Sources
NVD

Affected software

SoftwareAffected versions
Apache HTTP ServerServers and applications · cpe:a:apache:http_server
  • From 2.0.0 before 2.0.65
  • From 2.2.0 before 2.2.22

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2012-0053
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2012-0053