Apache HTTP Server auth-state lifecycle¶
Source: GitHub advisories published 2026-10-01 against Apache HTTP Server (fixed 2.4.69). Related pages: Sept 21 auth-method precedence page, Aug 26 Tomcat auth/parser batch.
Why this is durable: httpd 2.4.x is deployed behind a huge share of frontiers, and this wave is about authentication state that lives in server memory with a lifecycle, nonces, nonce-counters, shared-memory entries, per-session buffers. Every one of these items gives a black-box testable property: you can detect the vulnerable configuration and prove the boundary from the client side without an exploit.
The four advisories¶
| Advisory | CVE | Module | Boundary |
|---|---|---|---|
| GHSA-x3h4-7828-fv9v | CVE-2026-73636 | mod_auth_digest | Authentication bypass by capture-replay: a MITM replays captured Digest credentials via crafted requests that trigger garbage collection of the client's shared-memory entry when AuthDigestNonceLifetime is 0 |
| GHSA-gr5c-77fq-wx32 | CVE-2026-73637 | mod_auth_digest | Use-after-free: unauthenticated remote client causes authentication state corruption via concurrent Digest requests when AuthDigestNcCheck is enabled or AuthDigestNonceLifetime is 0 |
| GHSA-w59m-qjff-crxx | CVE-2026-57941 | mod_http2 | Use-after-free via shared session->bbtmp re-entrancy (2.4.0-2.4.68) |
| GHSA-qp6v-989p-mw9v | CVE-2026-59797 | mod_ssl | Improper privilege management via SSLRequire and file-related expressions |
Durable axes¶
- Digest auth state is a configuration-visible oracle. The vulnerable preconditions (
AuthDigestNcCheck On,AuthDigestNonceLifetime 0) are probeable from outside: replay the same nonce with the samencand watch whether it's accepted (NC check off/weak), reuse a nonce long after issuance (lifetime 0 → stale nonces accepted, which is exactly the replay precondition). Add a Digest-auth probe to any recon pass that seesWWW-Authenticate: Digest: challenge parse → nonce lifetime test → nc-increment test → concurrent-issue test. The replay bypass itself needs a MITM position, so report the probeable configuration (stale nonce + no nc enforcement) as the finding, which is the same precondition set. - Concurrency is an auth-state attack, not just a DoS attack. The UAF is reached by concurrent Digest requests corrupting authentication state, an unauthenticated client. The class rule (join: session-cache OTP counters, Keycloak session-restart marker wipe): when auth state is keyed per-client in shared memory and mutated per-request, race the requests. Black-box signal: auth results that flip for the same valid credential under parallel load, or 5xx on
/only under concurrent 401-challenge pressure. Prove only "authentication state corruption" (wrong-code accepted / correct-code rejected under race) on authorized targets, the UAF itself is crash territory, lab builds only. - Protocol-layer UAF on just-patched builds. The h2
session->bbtmpre-entrancy UAF sits in the version range that has been "current" for years; same lesson as the Tomcat HTTP/2 fix-regression entry: after any httpd mod_http2 CVE cycle, re-run the raw-byte h2 battery against the new build, because shared session buffers are exactly where fixes introduce re-entrancy bugs. Frame h2 memory-safety as reachability evidence (does the server accept malformed stream interleaving at all?), never crash public frontiers. SSLRequireexpression gaps = mTLS policy that doesn't apply. File-related expressions inSSLRequireprivilege mismanagement means authorization decisions written inmod_sslexpressions can evaluate against the wrong object. Operator rule: whenever a target usesSSLVerifyClient optional+SSLRequire(soft-fail mTLS, the pattern behind this page's Tomcat realm first-wins sibling), test the full decision matrix: no cert / valid cert / revoked-or-foreign cert against each protected location, and diff which locations authorize, the expression-evaluation bug shows up as an unexpected allow on one leg.
Validation boundaries¶
Authorized targets only. Non-invasive proofs first: Digest configuration probing (nonce reuse, nc replay), mTLS decision tables, version banner (Server: header + protocol feature probes). The Digest UAF and h2 UAF are crash/memory-corruption primitives, reproduce only against lab httpd builds you own, with the exact advisory configuration (AuthDigestNcCheck On / AuthDigestNonceLifetime 0), and never fuzz production frontiers with concurrent-state-corruption traffic. Capture the 401-challenge parameters as evidence; never collect real user credentials.
October 1 21:3xZ follow-up: the rest of the wave, module-level primitives (folded)¶
The same 18:32Z advisory train carried a second tier of httpd 2.4.0-2.4.68 module defects that landed in the updated feed at 21:33Z. Same invariant as this page, the module you enabled is a separate implementation with its own parser, buffer, and trust assumptions, but different sinks:
| Advisory | CVE | Module | Boundary |
|---|---|---|---|
| GHSA-f5cw-5j88-wxxc | CVE (9.8) | mod_rewrite | Use-after-free in mod_rewrite lookahead (%{LA-U:HTTP:...}), the lookahead re-enters the filter chain for an internal sub-request and the shared request state lifecycle breaks, same shape as this page's digest/h2 findings |
| GHSA-f6c9-29xf-9j37 | 7.5 | mod_vhost_alias | Stack overflow via Host header >8192 bytes when VirtualDocumentRoot uses a hostname format specifier and LimitRequestFieldSize is raised, remote unauthenticated DoS/possible code exec |
| GHSA-6wv6-863r-87j4 | 7.5 | mod_proxy_ftp | Forward proxy opens a data connection to an arbitrary third-party host from a crafted FTP PASV reply, an untrusted FTP server turns the proxy into an SSRF/port-scanner pivot |
| GHSA-9fgx-g8xr-w8vf | 7.5 | mod_proxy_uwsgi | Response smuggling via a crafted uwsgi response containing Transfer-Encoding (2.4.30+) |
| GHSA-cr6f-pjrc-7rw2 | 5.3 | mod_userdir | Path equivalence /./ with absolute non-wildcard UserDir, canonicalization differential at a file-existence gate |
| GHSA-rxhx-8qf3-fc8h | 3.7 | mod_cgi | Internal redirects from CGI execute the redirect target as CGI too (target must be in a CGI-enabled dir with no mime-recognized extension) |
| GHSA-p249-893m-q7j8 | 5.3 | mod_dav_fs | GET the .DAV state directory to read WebDAV dead properties of resources you cannot author |
Durable axes from the second tier:
Hostis a memory-safety input, not just a routing string. The vhost_alias overflow is triggered by the request's ownHostheader onceVirtualDocumentRootinterpolates it. Add an oversized-Host probe (e.g. 9 KBHost) to any httpd recon pass on hosts whereLimitRequestFieldSizehas been raised, acceptance vs 400/413 vs worker death is a black-box configuration oracle. Prove reachability only; never chase the write.- Any module that parses a peer-supplied address opens a pivot. The PASV-reply flaw is the FTP twin of every "server names the connect destination" bug: in forward-proxy configs your outbound destination is chosen by the remote server's payload. If an authorized scope includes an httpd forward proxy with FTP enabled, connect it only to owned servers and record whether a crafted PASV address produces an outbound connection to your listener, that single proof is the finding.
- Lookahead/rewrite re-entrancy is auth-state lifecycle in a different costume.
%{LA-U:...}spawns an internal sub-request that shares request state; same test discipline as the digest race: sub-request-bearing rewrite rules on just-patched builds deserve re-run batteries, and 5xx only-when-a-specific-RulePattern-fires is the reachability signal. - Response-side parser differentials exist below HTTP/1.1 framing too. The uwsgi adapter trusts
Transfer-Encodinginside the backend response, when a target fronts uwsgi/AJP/FCG variants, run the desync canary battery against the backend protocol, not just the client-facing leg. /./and.DAVare cheap recon strings. Append/./segments to userdir-style paths andGET /.DAV/(orGET <dir>/.DAV/) on any WebDAV-visible route: an equivalence leak or dead-property disclosure is a same-origin, non-invasive first-touch check.
November 15 follow-up: mod_http2 assign_headers() shared-table race, unauth pre-app RCE (CVE-2026-119618)¶
GHSA-hjhf-gpg9-qqfj / CVE-2026-119618 (critical, updated-feed enrichment landed 2026-11-15T03:30Z, originally published Nov 11 with the 2.4.71 release). This is exactly the re-entrancy-in-shared-h2-buffers regression this page's axis 3 predicted, now with full public evidence: fix diff, ThreadSanitizer traces, and a containerized differential lab (googlesky/CVE-2026-119618) that reproduces on 2.4.70 and stays clean on 2.4.71.
The defect in one line. assign_headers() in modules/http2/h2_request.c clones the shared stream header table into r->headers_in (worker-private pool), then, for a body-less request carrying Content-Type with no Content-Length, writes the synthesized Content-Length: 0 back into the shared req->headers table instead of the clone. That table's pool inherits the connection allocator, which has no mutex (apr_allocator_create() never creates a lock; allocator_lock() is a no-op). When the header table is full, the write pops a fresh 8 KB node from the connection's free list while the connection thread is allocating/freeing on the same list: two threads pop the same node, pools hand out overlapping memory, heap corruption in the child process. The fix (commit 824beab9b9, merged Nov 9) is one token: apr_table_setn(r->headers, ...) becomes apr_table_setn(r->headers_in, ...). Found independently by Anthropic's OSS Scanner and Google Cloud VR (Weems/Scannell). Affected: httpd 2.4.55-2.4.70, standalone mod_h2 2.0.8-2.0.42.
Exact trigger shape (from the lab repo, 2.4.70 source): all four of (1) END_STREAM on the HEADERS frame (beam_in == NULL → no_body == 1), (2) Content-Type present, (3) no Content-Length, (4) header table at capacity: 79 regular headers plus the :authority-derived Host entry so nelts == nalloc == 80, forcing the apr_table_setn growth allocation (160 × 24 B rounds to MIN_ALLOC 8192). CONNECT short-circuits (if (!is_connect)). The 6080-request repro produced five ASan reports (SEGV in allocator_lock, apr_palloc, run_cleanups, apr_bucket_free plus an ap_log_assert abort) and 31 TSan races all naming assign_headers().
Durable operator axes:
- Shared-vs-private copy discipline is fuzzable without any app code. The vulnerable branch runs in header assignment before any handler, so no application-layer control matters. Fingerprint from outside: an h2/h2c listener that accepts body-less requests with
Content-Typeand noContent-Lengthis eligible; the request-shape battery (79-header padding + CT + no CL, repeated at concurrency) against a lab build is the reachability proof. Correlate acceptance with worker restarts as the weak black-box oracle, same posture as this page's Digest probes. Never run concurrent-state-corruption traffic at production frontiers; the lab differential (vulnerable exits 1, fixed exits 0) is the publishable evidence pattern. - Worker/connection thread split is a race hunt map. The invariant violation is a worker writing the connection thread's allocator. For any multiplexed-protocol server (h2, h3, AJP, gRPC bridges): grep for handlers that mutate shared session/stream structures after the request object is cloned to the worker pool. Shared-pool mutation from worker code paths is the audit target, and lock-free allocators (
apr_allocator) make the bug invisible until you race it. - The standalone-module trap. If the target built mod_h2 from GitHub rather than using the distro package, upgrading httpd to 2.4.71 does not replace the vulnerable
.so, check which module file the config actually loads (httpd -M/LoadModulepath) before crediting the patch level. Sibling gotcha: 2.4.67 fixed the earlier HTTP/2 CVE (CVE-2026-23918) but every 2.4.67-2.4.70 build still carries this one; patch-level claims need the 2.4.71/mod_h2 ≥ 2.0.43floor. - Feature-negotiation surface as exposure oracle. Exposure is exactly
Protocolscontainingh2/h2c, settable per-vhost: oneProtocols h2 http/1.1anywhere reopens the whole estate. ALPN/h2c negotiation from the client side is a free, non-invasive exposure check per vhost (h2 preface accepted vs refused), and it also verifies the published workaround (Protocols http/1.1) without touching config. - Two research-finder fingerprints worth noting. Anthropic OSS Scanner filed 2026-10-26, Google reported 2026-11-03, fixed+released 2026-11-11: a 16-day report-to-ship window with a same-day public repro lab after disclosure. For just-shipped criticals, check for a differential-lab repo before building your own harness; the
check|exploit|probe|sweep|mitigationcontainer script pattern is directly liftable for authorized engagements.
Validation boundaries: authorized targets only; ALPN/Protocols negotiation checks and version/.so fingerprinting are non-invasive first-touch proofs; the race itself (crash/memory-corruption primitive) is lab-only against 2.4.55-2.4.70 builds you own, per this page's existing rule that h2 memory-safety is reachability evidence, never production fuzzing.
Tracked, not published from the same wave¶
- Zod ≤4.6.5 uncapped array-issue accumulation OOM (CVE-2026-54404), availability-only validation-library DoS; revisit if an early-termination oracle emerges.
- jackson-dataformats-binary Smile parser never invokes
StreamReadConstraints.validateNameLength()(CVE-2026-68496), constraint-coverage drift class (same shape as the Oct 1 guard-coverage page: the configured limit exists, one code path never calls the validator); no operator sink beyond DoS yet. - TP-Link TL-WR841N authenticated IPv6-gateway command injection (CVE-2026-102294), admin-auth router cmdi, single-product, class already covered.