r/nginx • • 7d ago

Immediately patch nginx servers

Critical vulnerability nginx2root went live today shared by Xint Research.

A Xint researcher found the specific vuln that hits nginx in its default config. This discovery was around the same time he found another critical vulnerability in a different project that we cannot talk about yet due to the same concerns as nginx2root. We took those learnings and incorporated them into the harness as a new, general Xint feature (that is, not fine-tuned to nginx), which then found the other 4 critical nginx vulnerabilities with no human guidance.

Update - adding link to emergency remediation plan: https://nginx2root.com/

100 Upvotes

27 comments sorted by

5

u/nitronarcosis 7d ago

Any reason the disclosure didn't wait for any packaging to take place downstream at the distro level?

2

u/xint_official 7d ago

Once a patch is released it is extremely easy for attackers to reverse engineer and figure out an exploit. In that scenario the best defense actually is to publicize as soon as patch is public + provide remediation steps in case updating to latest version isn't an option - which we share on our emergency remediation plan: https://nginx2root.com/

1

u/Livid-Tune-4699 7d ago

Upstream guys are slow and finders I guess didn't want to wait?

6

u/AminoOxi 7d ago

Your guess is correct, meaning the security researchers nowadays are morons who should be banned from the industry. Especially firms like Calif who broke the embargo twice in 2 weeks.

1

u/Old_Adeptness5169 6d ago

No idea why it wasn't coordinated with the distros. If you're on distro packages in the meantime: Debian 13 got its fix today, but Debian 12, older Debian and CentOS 7/8 still have nothing. We (Hosted Power, disclosure) published patched builds of the distro's own nginx for those, same package and modules, so no switch to upstream needed: https://github.com/HOSTED-POWER/nginx2root-patches

4

u/cschneegans 7d ago

I assume that you forgot to include the link to nginx2root.com. Thanks for this write-up!

I already had HTTP/2 disabled for different reasons, but I have now verified this using the provided openssl command line.

2

u/xint_official 7d ago

I tried to include the URL originally when posting but reddit's automated controllers blocked it so I tried to give us much info as possible so others could search for it.

Thanks for sharing the link!

10

u/Realistic_Bag_7054 7d ago

ffs I'm on vacation and this is already the second vuln I had to patch from my phone. What the hell is going on?!? /rant-over

Thanks for the heads-up 

4

u/Livid-Tune-4699 7d ago

We are in New era. May be this patching should be auto

3

u/Realistic_Bag_7054 7d ago

Maybe, but I'll be damned if I let an AI anywhere near a prod server. It can get read-only access to anonymized logs and that's if I'm generous. 

1

u/Livid-Tune-4699 5d ago

Not suggesting AI, no way. Where do you deploy nginx? In cloud or on prem?

1

u/Realistic_Bag_7054 5d ago

In cloud

1

u/Livid-Tune-4699 5d ago

Have you seen this service. https://docs.nginx.com/nginxaas/ They manage entire life cycle so no need to update.

1

u/Thin_Noise_4453 4d ago

Cve will not wait until your vacation is over. What a crazy rant.

1

u/hike_me 3d ago

Bro, you’re on vacation.

This should be a lesson for your employer to not be so under staffed.

1

u/CauaLMF 7d ago

IA tá vasculhando tudo

-3

u/aieidotch 7d ago

choosing carefully what software is used, and what not. avoids the theater…

6

u/Realistic_Bag_7054 7d ago

I know, but php, openssh and now nginx it's not like I'm installing crazy obscure or unmaintained software. 

Yes I wasn't affected by SSHole because I actually know how to configure OpenSSH but it still gave me a scare.

4

u/FatBook-Air 7d ago

nginx is not a package to avoid. It has a good history. Anyone who is patching it today is not doing so because they made a rash or incomplete decision.

0

u/aieidotch 7d ago

i was referring to the http/2 part specifically… true history was good until the new owners

6

u/gribbleschnitz 7d ago

Also, patch from upstream. Don't depend on a distro delivered version of NGINX to keep you updated. Switch to upstream if you installed NGINX from your distro distribution.

2

u/jsabater76 7d ago

So far the have patched the mainline branch, not the stable one.

1

u/Livid-Tune-4699 7d ago

Both mainline and stable are patched.

1

u/jsabater76 6d ago

Ah, I'll check again, then. Maybe I missed it in the changelog file. Thanks!

4

u/AskF5 6d ago

Yesterday, F5 published an official out-of-band security notification indexing several NGINX and BIG-IP vulnerabilities: K000164058: Out-of-band Security Notification (November 18, 2026).

For more details and information about fixes, please refer to the security advisory articles in the list.

2

u/TechWondersUk 7d ago

Thx had to disable http2 and 3 as a precaution, have to wait for plesk to prepare nginx update

1

u/RajirraMyBeloved 6d ago

Is it exploited wild already?

Grepped my logs. No even a sign of erratic behavior. Logs are consistent and continuous.

The website says that root shell is possible only with SCTP exploit. I had SCTP disabled in kernel on my VPS, so I assume at least root path was/is blocked? No mention of this scenario.

Instructions to verify are unclear. We need something which an ordinary sysadmin can copypaste asap and get result quick. nginx2root.com is useless in this regard, had to visit your blog instead. Why on Earth an officially looking vuln website lists typical tech.support boilerplates? Esp. Section "Investigating a possible compromise" in FAQ is disappointingly empty. Where is that grep line for segfaults from your blog post?! Why its not here?!

End of rant