cbcvebase.
CVE-2016-8740
published 2016-12-05

CVE-2016-8740: The mod_http2 module in the Apache HTTP Server 2.4.17 through 2.4.23, when the Protocols configuration includes h2 or h2c, does not restrict request-header…

PriorityP266high7.5CVSS 3.0
AVNACLPRNUINSUCNINAH
EXPLOIT
EPSS
79.07%
99.6th percentile
The mod_http2 module in the Apache HTTP Server 2.4.17 through 2.4.23, when the Protocols configuration includes h2 or h2c, does not restrict request-header length, which allows remote attackers to cause a denial of service (memory consumption) via crafted CONTINUATION frames in an HTTP/2 request.

Affected

12 ranges
VendorProductVersion rangeFixed in
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server
apachehttp_server
apache_software_foundationapache_http_server
applemacos_high_sierra
applemacos_high_sierra_10.13.1_security_update_2017-001_sierra_and_security_update_20
applemacos_sierra_10.12.4_security_update_2017-001_el_capitan_and_security_update_201
debianapache2< apache2 2.4.25-1 (bookworm)apache2 2.4.25-1 (bookworm)

Detection & IOCsextracted from sources · hover to see the quote

commandPRI * HTTP/2.0\r\n\r\nSM\r\n\r\n
bytes
HEADERS frame: \x82\x84\x86\x41\x86\xa0\xe4\x1d\x13\x9d\x09\x7a\x88\x25\xb6\x50\xc3\xab\xb6\x15\xc1\x53\x03\x2a\x2f\x2a\x40\x83\x18\xc6\x3f\x04\x76\x76\x76\x76
bytes
CONTINUATION frame: \x40\x83\x18\xc6\x3f\x04\x76\x76\x76\x76
  • Detect exploit by looking for HTTP/2 connection preface 'PRI * HTTP/2.0' followed by an unbounded stream of CONTINUATION frames (frame type 0x09) on a single Stream ID without END_HEADERS flag being set, indicating memory exhaustion attempt.
  • CONTINUATION frames in the exploit carry frame type byte 0x09 with flags 0x01 and stream ID 0x00000001 in an infinite loop — alert on high-volume CONTINUATION frames (type=0x09) on the same stream without END_HEADERS.
  • Vulnerable servers are those with 'h2' or 'h2c' listed in the Protocols directive; detection should focus on Apache 2.4.17–2.4.23 with HTTP/2 enabled.
  • Monitor server memory consumption for rapid exhaustion correlated with HTTP/2 connections; the exploit causes unbounded memory growth via repeated CONTINUATION frames carrying header block fragments.
  • Incomplete handling of LimitRequestFields in mod_http2 is the root cause; alert on httpd processes with abnormally growing RSS when serving HTTP/2 traffic.
  • ·The vulnerability only affects Apache HTTP Server when the Protocols directive includes 'h2' or 'h2c'; servers running only http/1.1 are not affected.
  • ·Temporary mitigation is to disable HTTP/2 by removing h2 and h2c from the Protocols directive, leaving only 'Protocols http/1.1'.
  • ·Affected version range is Apache HTTP Server 2.4.17 through 2.4.23 only; versions outside this range are not impacted by this specific CVE.

CVSS provenance

nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.