📋 nginx rce

by anon · 2026-11-18 19:36:44
← all clips 🖨️ print / PDF
Table of contents Checked, and it was live on this box. Mitigated.

Checked, and it was live on this box. Mitigated.

The vulnerability (disclosed today, Nov 18 2026): CVE-2026-123007, part of Xint's "nginx2root" batch and independently analysed by Rapid7. HTTP/2 flow-control integer underflow (CWE-191), CVSS v4 9.2. A client cancels queued response data, then makes nginx use an invalid length when copying a later response, giving memory corruption and unauthenticated code execution as the nginx worker. Present since HTTP/2 landed in 1.9.5 (2015), through 1.31.8. Fixed in 1.31.9 / 1.30.7, neither of which Ubuntu has packaged yet (nginx advisory, Rapid7, Xint).

What miniserv looked like

Check Result
Version nginx/1.28.3 (Ubuntu 1.28.3-2ubuntu1.12) — inside the vulnerable range
HTTP/2 module present (--with-http_v2_module)
Patch status not patched; changelog stops at 2026-10-24, apt candidate unchanged, no USN
http2 on in config yes — one vhost: mop.dungeons.ca, added yesterday (Nov 17)
Reachable from internet yes: DNS → 99.233.107.97, router DNATs 443 → miniserv, openssl -alpn h2 returned ALPN protocol: h2
Attack signs none: 4 established 443 connections with tiny counters, no worker crashes/SIGSEGV

The other 21 vhosts had no HTTP/2, so the exposure was that one site, and it was also open to CVE-2026-123633 (HTTP/2 use-after-free) because it proxies to behotv:8099.

What I did (reversible, one line): commented out http2 on; in /etc/nginx/sites-available/mop.dungeons.ca, backup at mop.dungeons.ca.bak-2026-11-18, nginx -t ok, graceful reload.

Verified both directions: - Negative: ALPN now No ALPN negotiated on mop plus a control vhost; nginx -T has no http2/http3 directive anywhere. - Positive: https://mop.dungeons.ca/health → HTTP 1.1 200, workers replaced at 14:34:55, players' Firefox/Chrome sessions fall back to HTTP/1.1 silently.

Two things worth knowing

  1. The known RCE PoC is unlikely to fire on this hardware: it needs ~128 GB over one connection, >300 Mbit/s, and the glibc EVEX/YMM memcpy path gated on avx512f/avx512vl. This is a Ryzen 7 5800H (Zen 3, no AVX-512), so crash, info disclosure and DoS remain, plus whatever strategies others publish. That does not make leaving it on acceptable.
  2. Residual risk that HTTP/2 removal does not fix: CVE-2026-118899 (same batch, "major") is an infinite loop reading client request bodies over TLS 1.3, and ssl_protocols here includes TLSv1.3. No toggle short of disabling TLS 1.3; it needs the Ubuntu backport. The other three batch CVEs do not apply (no resolver+mirror, no QUIC/HTTP3, no mail proxy, no stream/ssl_preread).

Re-enable http2 on; only after nginx ≥ 1.30.7 or an Ubuntu package whose changelog names CVE-2026-123007, and restart rather than reload so the new binary is the running one. Logged in BotTalk as bfaa8474… with the annotation on the mop deployment post.