Skip to content
Noroxi
NVD / CVE Program· CNA redhat

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…

MediumCVSS 4.3 · v2.0—Proof of concept Fix available

Noroxi assessment

Priority: Plan (action score 42/100)

  • Public proof-of-concept code exists (Exploit-DB); there is no record of exploitation in the wild.
  • Probability of exploitation in the next 30 days: 82.1% (FIRST EPSS); higher than 99.6% of all records.
  • Fixed version: apache2 (Debian:12) 2.2.22-1; apache2 (Debian:5.0) 2.2.9-10+lenny12; apache2 (Debian:6.0) 2.2.16-6+squeeze6.

Add it to your regular patch cycle. Upgrade to apache2 (Debian:12) 2.2.22-1; apache2 (Debian:5.0) 2.2.9-10+lenny12; apache2 (Debian:6.0) 2.2.16-6+squeeze6 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

Published
Jan 28, 2012
Updated
Jun 16, 2026
EPSS
82.1% · 99th percentile
CWE
—

Report tools

JSON

Action score

42

Plan

Add it to your regular patch cycle.

CVSS
17 / 40 · 4.3 / 10
CISA KEV
0 / 30 · Not listed
EPSS
25 / 30 · 82.1%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • Proof of concept exists, no weaponized module
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2012-0053

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Is Apache HTTP Server on your server exposed to the internet?Run a port scan

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Is Apache HTTP Server on your server exposed to the internet?Run a port scan

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
apachehttp server
debiandebian linux
opensuseopensuse
suselinux enterprise server
suselinux enterprise software development kit
redhatstorage
redhatenterprise linux desktop
redhatenterprise linux eus
redhatenterprise linux server
redhatenterprise linux workstation
redhatjboss enterprise web server
redhatenterprise linux

Using http server? Add it to your stack and be the first to know about CVEs like this one. (Apache HTTP)

Watch new CVEs for http server

When you'll hear from us

  • when a new CVE affecting this product is published
  • when a record in your stack enters KEV or is weaponized

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Is Apache HTTP Server on your server exposed to the internet?Run a port scan

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Is Apache HTTP Server on your server exposed to the internet?

The free port scanner finds the open ports on your server and matches the service versions it can read against known vulnerabilities. No account needed.

Run a port scan

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • apache http server2.0.0 and later · before 2.0.65
  • apache http server2.2.0 and later · before 2.2.22

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12apache2before 2.2.22-12.2.22-1
Debian:5.0apache2before 2.2.9-10+lenny122.2.9-10+lenny12
Debian:6.0apache2before 2.2.16-6+squeeze62.2.16-6+squeeze6
Red Hat:enterprise_linux:5::clienthttpdbefore 0:2.2.3-63.el5_8.10:2.2.3-63.el5_8.1
Red Hat:enterprise_linux:5::clienthttpd-debuginfobefore 0:2.2.3-63.el5_8.10:2.2.3-63.el5_8.1
Red Hat:enterprise_linux:5::clientmod_sslbefore 1:2.2.3-63.el5_8.11:2.2.3-63.el5_8.1
Red Hat:enterprise_linux:5::client_workstationhttpd-develbefore 0:2.2.3-63.el5_8.10:2.2.3-63.el5_8.1
Red Hat:enterprise_linux:5::client_workstationhttpd-manualbefore 0:2.2.3-63.el5_8.10:2.2.3-63.el5_8.1
Red Hat:enterprise_linux:6::clienthttpdbefore 0:2.2.15-15.el6_2.10:2.2.15-15.el6_2.1
Red Hat:enterprise_linux:6::clienthttpd-debuginfobefore 0:2.2.15-15.el6_2.10:2.2.15-15.el6_2.1
Red Hat:enterprise_linux:6::clienthttpd-develbefore 0:2.2.15-15.el6_2.10:2.2.15-15.el6_2.1
Red Hat:enterprise_linux:6::clienthttpd-manualbefore 0:2.2.15-15.el6_2.10:2.2.15-15.el6_2.1
Red Hat:enterprise_linux:6::clienthttpd-toolsbefore 0:2.2.15-15.el6_2.10:2.2.15-15.el6_2.1
Red Hat:enterprise_linux:6::clientmod_sslbefore 1:2.2.15-15.el6_2.11:2.2.15-15.el6_2.1
Red Hat:jboss_enterprise_web_server:1::el5httpdbefore 0:2.2.17-15.4.ep5.el50:2.2.17-15.4.ep5.el5
Red Hat:jboss_enterprise_web_server:1::el5httpd-develbefore 0:2.2.17-15.4.ep5.el50:2.2.17-15.4.ep5.el5
Red Hat:jboss_enterprise_web_server:1::el5httpd-manualbefore 0:2.2.17-15.4.ep5.el50:2.2.17-15.4.ep5.el5
Red Hat:jboss_enterprise_web_server:1::el5mod_sslbefore 1:2.2.17-15.4.ep5.el51:2.2.17-15.4.ep5.el5
Red Hat:jboss_enterprise_web_server:1::el6httpdbefore 0:2.2.17-15.4.ep5.el60:2.2.17-15.4.ep5.el6
Red Hat:jboss_enterprise_web_server:1::el6httpd-develbefore 0:2.2.17-15.4.ep5.el60:2.2.17-15.4.ep5.el6
Red Hat:jboss_enterprise_web_server:1::el6httpd-manualbefore 0:2.2.17-15.4.ep5.el60:2.2.17-15.4.ep5.el6
Red Hat:jboss_enterprise_web_server:1::el6httpd-toolsbefore 0:2.2.17-15.4.ep5.el60:2.2.17-15.4.ep5.el6
Red Hat:jboss_enterprise_web_server:1::el6mod_sslbefore 1:2.2.17-15.4.ep5.el61:2.2.17-15.4.ep5.el6

Other highest-scoring records for the same primary product.

  • CVE-2021-42013Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773)KEV
    99Now
  • CVE-2021-41773Path traversal and file disclosure vulnerability in Apache HTTP Server 2.4.49KEV
    99Now
  • CVE-2024-38475Apache HTTP Server weakness in mod_rewrite when first segment of substitution matches filesystem path.KEV
    96Now

Published before and after this one in the same product

  • ← EarlierCVE-2012-0031Jan 18, 2012 · scoreboard.c in the Apache HTTP Server 2.2.21 and earlier might allow local users to cause a denial of service (daemon crash during…
    19Monitor
  • ← EarlierCVE-2012-0021Jan 28, 2012 · 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…
    19Monitor
  • Later →CVE-2012-1181Mar 19, 2012 · fcgid_spawn_ctl.c in the mod_fcgid module 2.3.6 for the Apache HTTP Server does not recognize the FcgidMaxProcessesPerClass directive for a…
    21Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:apache22.2.22-1 · Debian:12Package registry (OSV)
red hat:httpd0:2.2.15-15.el6_2.1 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:httpd-debuginfo0:2.2.15-15.el6_2.1 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:httpd-devel0:2.2.15-15.el6_2.1 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:httpd-manual0:2.2.15-15.el6_2.1 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:httpd-tools0:2.2.15-15.el6_2.1 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:mod_ssl1:2.2.15-15.el6_2.1 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Exploit-DB entry ×1

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Exploit-DB entryremote2012-01-31

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Published
  2. First PoC+3 d
  3. TodayNov 15, 2026+5406 d

Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.

Technical details

Attack conditions

    If successful

    Confidentiality
    P · data can be read
    Integrity
    none
    Availability
    none
    Attack complexity
    M
    Confidentiality impact
    P
    Integrity impact
    None
    Availability impact
    None

    Weakness class (CWE)

    —

    CVSS vector

    AV:N/AC:M/Au:N/C:P/I:N/A:N

    nvd-primary

    Attack context

    MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

    MITRE has no CAPEC/ATT&CK mapping for this CWE.

    References

    All records