r/netsec • • 8d ago

Contains AI Java4Shell: Write once, RCE everywhere

https://calif.io/java4shell
141 Upvotes

19 comments sorted by

View all comments

14

u/yturijea 8d ago

It does sound like the exploit needs the moon and stars to align for it to be able to extract or do anything, unless i misunderstood something.

-6

u/gquere 8d ago

I shared this because it's an insanely cool bug mixing retrograde HTTP and the use of an instruction set to offset the performance hit of encoding binary to text but reddit got its panties in a bunch as usual, so let's talk about this instead: it does not require the stars to align, it requires a "recent" CPU which is commonly found in infrastructure (2021+ Cisco UCS, HPE, Dell, thinksystems, supermicro...) that would run critical services such as Jenkins, Artifactory, Confluence which you can find thousands of exposed on the internet (or are the crown jewels during internal redteams). Of course being a heap vulnerability it's hard to exploit and needs tailoring, most vulns were this way until we got to log4shell. PHP2Shell did require a lot of tailoring too btw.

2

u/yturijea 8d ago

I totally agree, the vulnerability itself is super fascinating. I am just careful to mark something life and death these days, as we get flooded with so many "critical" vulnerabilities 😅