Apache mod_http2 Exposure (CVE-2026-119618)
Find Apache servers negotiating HTTP/2 on builds in the CVE-2026-119618 range, with banner caveats stated plainly, plus an h2c cleartext check.
Notes on this workflow
Target List
A FILE of server URLs, one per line (https preferred; an explicit port pins the probe to that port; cleartext hosts get the h2c preface check). The workflow fails closed when the input is missing or empty.
Apache mod_http2 Exposure Check — CVE-2026-119618
Finds Apache HTTP Server hosts with HTTP/2 enabled and classifies exposure to CVE-2026-119618 (race condition in mod_http2 assign_headers() -> heap corruption -> possible RCE, CVSS 9.8 vendor / 8.1 NVD due to race complexity). Exposure/fingerprint only: the trigger is a worker-crashing race of concurrent requests, so this workflow never sends concurrent request storms or the race shape (bodyless request with Content-Type but no Content-Length, repeated in parallel) — that would be a deliberate DoS against a production server. Probe = one GET, one TLS ALPN negotiation, one h2c preface. Banner caveat everywhere: distro backports make the Server header unreliable for mapping the mod_http2 module version. httpd security page
H2 Probe — how it works
1. One HTTPS GET reads the Server header and Apache markers (the banner alone never proves anything). 2. HTTP/2 exposure via TLS ALPN: one handshake offering h2 + http/1.1, reading the negotiated protocol — no HTTP/2 frames sent, no race. 3. h2c: one well-formed HTTP/2 preface (magic + a single empty SETTINGS frame) on one port only; a SETTINGS reply answers the question. Verdicts: h2 enabled + banner in 2.4.55-2.4.70 = h2_exposed_in_range (affected wording with the backport caveat); h2 enabled + banner >= 2.4.71 = patched_banner (banner-based); h2 enabled + banner suppressed/pre-2.4.55 = h2_exposed_version_unknown (the default for real servers — never clean, verify the installed mod_http2 package); HTTP/1.1 only = not_exposed; non-Apache = not_product.
Results
findings.jsonl: one row per target — verdict (h2_exposed_in_range / h2_exposed_version_unknown / patched_banner / not_exposed / inconclusive / error / not_product), Server header, ALPN result, h2c state, CVSS 9.8 + NVD divergence note, remediation (2.4.71 / vendor packages / standalone mod_h2 2.0.8-2.0.42 has no fix; interim disable h2/h2c in Protocols; distro lag table). summary.jsonl: verdict counts and target lists. Version-unknown rows are never clean.