← Vulnerability feed

Vulnerability record · CVE-2013-5704 · published 15 April 2014

CVE-2013-5704: Apache HTTP Server mod_headers RequestHeader unset bypass via chunked trailers

Apache · Http Server

The mod_headers module in Apache HTTP Server 2.2.22 fails to apply "RequestHeader unset" directives to headers placed in the trailer portion of a chunked transfer-coded request. This lets a remote client smuggle a header past configuration intended to strip it, undermining header-based access controls or input filtering. The vendor disputes this is a security issue in httpd itself.

5.0 CVSS 2.0 Medium EPSS 53% · top 1.1%
5.0CVSS 2.0 base score
53%EPSS exploitation probability, 30 days
NoNot in CISA KEV
15Affected product versions listed by NVD
94References, 2 tagged exploit
16 Jun 2026Last modified by NVD

Description

The mod_headers module in the Apache HTTP Server 2.2.22 allows remote attackers to bypass "RequestHeader unset" directives by placing a header in the trailer portion of data sent with chunked transfer coding. NOTE: the vendor states "this is not a security issue in httpd as such."

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

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: medium.

medium priorityThe flaw is remotely reachable without authentication and has high EPSS, but impact is limited to bypassing header-stripping directives and the vendor disputes its security severity.

What it is

The mod_headers module in Apache HTTP Server 2.2.22 fails to apply "RequestHeader unset" directives to headers placed in the trailer portion of a chunked transfer-coded request. This lets a remote client smuggle a header past configuration intended to strip it, undermining header-based access controls or input filtering. The vendor disputes this is a security issue in httpd itself.

Impact

An attacker can reintroduce a header that administrators explicitly configured to be removed, potentially bypassing header-based authorization, filtering, or routing rules. The direct gain depends entirely on what downstream logic trusts that header; the record does not specify a concrete privilege escalation or data compromise.

Attack surface

Reachable over the network by sending an HTTP request with chunked transfer coding and a crafted trailer header; no authentication or user interaction is required per the CVSS vector AV:N/AC:L/Au:N. The flaw is in request parsing and header handling, not in a client-side component.

Exploitation

Not listed in CISA KEV, but EPSS is high at roughly 0.56 (99th percentile), and one reference is tagged as an exploit write-up. No ransomware usage is documented.

What to do

  • Upgrade Apache HTTP Server to a release that includes the mod_headers trailer handling fix; check vendor errata (Red Hat, Ubuntu, Oracle, Apple) for the applicable patched build.
  • If immediate upgrade is not possible, disable or restrict chunked transfer coding at the reverse proxy or load balancer for untrusted clients.
  • Do not rely solely on RequestHeader unset for security-critical header stripping; enforce header allow-lists at the edge proxy instead.
  • Review downstream applications that trust headers such as X-Forwarded-For or authorization headers for exposure to smuggled trailer values.

Detection

  • Log and alert on HTTP requests containing trailer headers, especially those with chunked transfer coding and non-empty trailer sections.
  • Monitor for requests where a header configured for removal via RequestHeader unset appears in the trailer rather than the main header block.
  • Correlate proxy and origin logs for discrepancies in header sets between the edge and the backend server.
  • Watch for repeated chunked requests from a single source that target endpoints protected by header-based access rules.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

15 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://lists.apple.com/archives/security-announce/2015/Apr/msg00001.html Mailing ListThird Party Advisory
http://lists.apple.com/archives/security-announce/2015/Sep/msg00004.html Mailing ListThird Party Advisory
http://marc.info/?l=apache-httpd-dev&m=139636309822854&w=2 Mailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=143403519711434&w=2 Issue TrackingMailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=144493176821532&w=2 Issue TrackingMailing ListThird Party Advisory
http://martin.swende.se/blog/HTTPChunked.html Broken LinkExploitThird Party Advisory
http://rhn.redhat.com/errata/RHSA-2015-0325.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2015-1249.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2015-2661.html Broken LinkThird Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-0061.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-0062.html Third Party Advisory
http://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x/CHANGES Release NotesVendor Advisory
http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_http.c PatchVendor Advisory
http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_http.c?r1=1610674&r2=1610814&diff_format=h PatchVendor Advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2014:174 Third Party Advisory
http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html Third Party Advisory
http://www.oracle.com/technetwork/topics/security/cpujan2015-1972971.html Third Party Advisory
http://www.oracle.com/technetwork/topics/security/cpujan2016-2367955.html Third Party Advisory
http://www.oracle.com/technetwork/topics/security/cpujul2015-2367936.html Third Party Advisory
http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html Third Party Advisory
http://www.securityfocus.com/bid/66550 Third Party AdvisoryVDB Entry
http://www.ubuntu.com/usn/USN-2523-1 Third Party Advisory
https://access.redhat.com/errata/RHSA-2015:2659 Third Party Advisory
https://access.redhat.com/errata/RHSA-2015:2660 Third Party Advisory
https://h20564.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c04832246 Third Party Advisory
https://httpd.apache.org/security/vulnerabilities_24.html Vendor Advisory
https://lists.apache.org/thread.html/56c2e7cc9deb1c12a843d0dc251ea7fd3e7e80293cde02fcd65286ba%40%3Ccvs.httpd.apache.org%
https://lists.apache.org/thread.html/84a3714f0878781f6ed84473d1a503d2cc382277e100450209231830%40%3Ccvs.httpd.apache.org%
https://lists.apache.org/thread.html/8d63cb8e9100f28a99429b4328e4e7cebce861d5772ac9863ba2ae6f%40%3Ccvs.httpd.apache.org%
https://lists.apache.org/thread.html/f7f95ac1cd9895db2714fa3ebaa0b94d0c6df360f742a40951384a53%40%3Ccvs.httpd.apache.org%
https://lists.apache.org/thread.html/r57608dc51b79102f3952ae06f54d5277b649c86d6533dcd6a7d201f7%40%3Ccvs.httpd.apache.org
https://lists.apache.org/thread.html/r75cbe9ea3e2114e4271bbeca7aff96117b50c1b6eb7c4772b0337c1f%40%3Ccvs.httpd.apache.org
https://lists.apache.org/thread.html/r83109088737656fa6307bd99ab40f8ff0269ae58d3f7272d7048494a%40%3Ccvs.httpd.apache.org
https://lists.apache.org/thread.html/r9821b0a32a1d0a1b4947abb6f3630053fcbb2ec905d9a32c2bd4d4ee%40%3Ccvs.httpd.apache.org
https://lists.apache.org/thread.html/r9ea3538f229874c80a10af473856a81fbf5f694cd7f471cc679ba70b%40%3Ccvs.httpd.apache.org
https://lists.apache.org/thread.html/r9f93cf6dde308d42a9c807784e8102600d0397f5f834890708bf6920%40%3Ccvs.httpd.apache.org
https://lists.apache.org/thread.html/ra7f6aeb28661fbf826969526585f16856abc4615877875f9d3b35ef4%40%3Ccvs.httpd.apache.org
https://lists.apache.org/thread.html/rc998b18880df98bafaade071346690c2bc1444adaa1a1ea464b93f0a%40%3Ccvs.httpd.apache.org
https://lists.apache.org/thread.html/rcc44594d4d6579b90deccd4536b5d31f099ef563df39b094be286b9e%40%3Ccvs.httpd.apache.org
https://lists.apache.org/thread.html/rd18c3c43602e66f9cdcf09f1de233804975b9572b0456cc582390b6f%40%3Ccvs.httpd.apache.org

Track CVE-2013-5704 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2021-42013Apache HTTP Server path traversal and RCE via incomplete fixThe fix for CVE-2021-41773 in Apache HTTP Server 2.4.50 was insufficient, leaving a path traversal flaw that lets attackers map URLs to files outside…KEVEPSS 100%analysed9.8CVE-2021-41773Apache HTTP Server 2.4.49 path traversal and RCEA path normalization flaw introduced in Apache HTTP Server 2.4.49 lets attackers map URLs to files outside directories configured by Alias-like direc…KEVEPSS 100%analysed9.8CVE-2021-1870Apple WebKit logic flaw allows remote code executionA logic issue in Apple's WebKit was addressed with improved restrictions, affecting macOS Big Sur, Catalina, Mojave, iOS and iPadOS, plus WebKitGTK a…KEVEPSS 7.7%analysed9.8CVE-2021-1871Apple WebKit logic flaw allows remote code executionA logic issue in Apple's WebKit was addressed with improved restrictions. It affects macOS Big Sur, Catalina, Mojave, iOS and iPadOS, and a remote at…KEVEPSS 7.0%analysed9.8CVE-2020-11651SaltStack Salt master authentication bypass in ClearFuncsSaltStack Salt before 2019.2.4 and 3000 before 3000.2 fails to properly validate method calls in the salt-master ClearFuncs class, allowing remote un…KEVEPSS 97%analysed9.8CVE-2020-7247OpenSMTPD MAIL FROM command injection allows remote root code executionOpenSMTPD 6.6, as shipped in OpenBSD 6.6 and other products, mishandles input validation in smtp_mailaddr in smtp_session.c, returning an incorrect v…KEVEPSS 99%analysed9.8CVE-2019-11043PHP-FPM buffer overflow enables remote code executionPHP-FPM in certain configurations writes past allocated buffers into FCGI protocol data space, an out-of-bounds write (CWE-787, CWE-120). It affects …KEVEPSS 100%analysed9.8CVE-2019-16928Exim heap buffer overflow in string_vformat via long EHLO commandExim 4.92 through 4.92.2 contains a heap-based buffer overflow in string_vformat in string.c triggered by a long EHLO command, allowing remote code e…KEVEPSS 42%analysed

Source: NIST National Vulnerability Database (record CVE-2013-5704), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.