r/hacking • • 9d ago

News Critical NGINX ‘NGINX2Root’ bugs let attackers hijack servers

https://www.bleepingcomputer.com/news/security/critical-nginx-nginx2root-bugs-let-attackers-hijack-servers/
284 Upvotes

25 comments sorted by

30

u/SamSlate 9d ago

nooooo i just fudging migrated from php

11

u/gplusplus314 9d ago

Laughs in Cold Fusion

8

u/SamSlate 9d ago

let me log into Dreamweaver and make sure my flash player is still up to date

5

u/gplusplus314 9d ago

Make sure you’ve enabled ActiveX.

2

u/slowclapcitizenkane 8d ago

Is this our en passant?

Holy hell!

2

u/Ov3rdose_EvE 4d ago

we migrated from php to Node.js ... wed and Thursday.

Friday Node2Shell got out ...

64

u/kUdtiHaEX 9d ago

Too much drama for nothing. Conditions needed to exploit this are really specific if you read the CVE.

26

u/henrikx 9d ago

Really specific? In the article they write if you use http/2 as well as a proxy to backend. Reverse proxy configurations are common.

11

u/IceMichaelStorm 9d ago

yeah http/2 not necessarily but it has its cases

4

u/gplusplus314 9d ago

The number one use case of http/2 is to mentally papercut everyone with the forward slash. I will die on this hill.

3

u/IceMichaelStorm 9d ago

I don’t understand this at all.

We use it for SSE. http/1 has a very low limit of conmections

3

u/gplusplus314 9d ago

Forward slashes in English prose mean something different than what it means in “http/2”, so it’s awkward to read.

It’s a stupid hill to die on, but my particular flavor of comedy is, in fact, stupid.

2

u/IceMichaelStorm 9d ago

ah! Well, I think this a totally acceptable hill tbh. There are so many worse

4

u/supercool5000 9d ago

http/2 and TLS are necessary for the full RCE. My team has been using AI to rebuild the exploit, and the payload has to be tuned for the target. Unless you're targeting common builds (e.g. nginx docker containers) you'll have to determine heap grooming parameters against your target. Given that can be hard to determine (e.g. libc version on the target) there's currently no universal payload. Plus you have to send 100+ GB of data to the server to trigger the heap corruption, so volumetric detection of an attack is extremely feasible under typical deployments

1

u/lip_2585 4h ago

If that 100+ GB figure holds, it may aid detection, but monitoring must see that traffic; volume alone doesn't guarantee an alert.

1

u/Jayden_Ha 6d ago

I am sorry but Nginx default doesn’t have http2 enabled and I hated HTTP2

1

u/rachelmorgan-68 5d ago

How common is the full prerequisite chain in real deployments? A common reverse-proxy setup alone doesn't answer that.

1

u/kUdtiHaEX 9d ago

Not just http/2 that is just one of conditions. It is also tied to amount of traffic (at least 128 GB).

31

u/lovesabstraction 9d ago

lol I’m switching to Caddy rn

2

u/good_bye_for_now 8d ago

I run my server exclusively on Adobe Flash with ActionScript.

1

u/slowclapcitizenkane 8d ago

So...ColdFusion?

1

u/Jayden_Ha 6d ago

Caddy is a joke

4

u/Julio_Ointment 9d ago

FYI freenginx.org appears to just be "gone."

2

u/zzztoken 7d ago

Grandpa I’m tired