NGINX2Root by Xint – From Nginx visitor to root of the server host

59 points - today at 3:24 PM

Source

Comments

outloudvi today at 4:33 PM
I won't call it NGINX2Root if it requires a vuln published a quarter ago (the SCTP one, probably CVE-2026-64564) to gain root. In this case it's an RCE, so... some NGINX2Shell?

Also, Xint, if you are using SCTPhantom, you don't "discover" the SCTP vuln, you "reproduce" the SCTP vuln; Tencent discovered the SCTP vuln: https://matrix.tencent.com/en/2026/08/06/sctphantom-CVE-2026...

The good thing is, Xint, thank you for doing responsible disclosure this time! I won't say https://copy.fail is responsible given the website was released before many distros have fixed the issue.

Edit: So there's another unreleased SCTP vulnerability? Well, maybe it's time to turn it off if it's not used...

> Does patching nginx close the whole chain?

> It closes the way in through nginx. The kernel bug is a separate local privilege escalation vulnerability and needs its own patch, which will be released in the coming weeks.

Meglis today at 6:16 PM
Can someone tell me why NGF is not listed as affected here ? Am I missing something ? https://my.f5.com/manage/s/article/K000164058
sam-cop-vimes today at 5:50 PM
Does anyone know whether sites behind Cloudflare are affected by this or does Cloudflare provide some protection against this?
ChrisArchitect today at 5:16 PM
Related:

Pre-auth RCE in Nginx HTTP/2 handling

https://news.ycombinator.com/item?id=50547374

whalesalad today at 5:53 PM
when did it become en vogue to register a domain and host a website for a specific vuln? and could watching the cert transparency log for new names in this shape lead to heads up prior to responsible disclosure.
philipwhiuk today at 3:34 PM
I really dislike a brand new vibe-coded website claiming five vulns and "responsible disclosure" without an actual fix already available on https://nginx.org/

Responsible my ass

Wiz write-up: https://www.wiz.io/blog/nginx-http2-rce-vulnerabilities

patryk_builds today at 4:30 PM
The most useful line on the page for operators is easy to miss: after updating, `nginx -s reload` does not load the new binary, you need a restart. I'd expect a fair number of hosts to be "patched" on disk and still running the old worker for weeks.

The other one is the caveat about version strings. Distro packages and container images backport fixes without changing the version, so `nginx -v` can't confirm exposure or safety by itself. For anyone pinning an image tag like nginx:1.27-alpine, the question is whether that tag was rebuilt, and the only way to know is to pull again and compare digests.

On the 98.9% figure: the page is careful to call it version prevalence, which I appreciate. But the fourth condition in your checklist, external h2 negotiation, is measurable from outside with an ALPN probe. Did you run that against the same Shodan set? The share of affected-version hosts that actually negotiate h2 on a public port would be a much better estimate of real exposure.

I checked my own small server after reading this and it turned out not to matter, since the proxy in front is Caddy. What it did show me is that I couldn't have answered "which proxy, which version, is h2 on" from memory, and that's probably the common case for small deployments.