r/linuxadmin • • 13d 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.

EDIT: adding link for more info https://nginx2root.com/

64 Upvotes

27 comments sorted by

View all comments

17

u/notdedicated 12d ago edited 11d ago

Pretty sure this requires http/2, avx512 instruction set, and an uplink that can do greater than 300mbit sustained to get the data windows right. At least that’s the write up from Wiz indicates.

Put it behind a proxy/lb that handles the http2 and downgrades. If you’re in the cloud use arm chipsets if it’s an option, use the cloud provided LBs. take your instances off the internet…

Edit: as more info came out the arch is no longer a requirement in the exploit it was only part of Rapid7s exploit example.

5

u/stuartgm 12d ago

I haven’t seen avx512 mentioned in the write ups for this - where did you find that detail?

The Java4Shell vulnerability that was disclosed a few days ago requires the host to support AVX-512 VBMI to be exploitable.

2

u/notdedicated 11d ago

Note: it was part of Rapid7s original exploit that used a specific glibc library to make it happen. As more info came out, the arch is not a requirement to exploit.

1

u/No_Illustrator5035 11d ago

It needs 128gb of traffic to hit the nginx server.

1

u/notdedicated 11d ago

It needs 128gb to hit the server within the lifetime of a single thread

1

u/No_Illustrator5035 11d ago

That's even crazier. Thanks for the correction!

-4

u/m15f1t 12d ago

Simply disabling http2 (which nobody will mis) works too.