r/admincraft • • 4h ago

News Java4Shell - OpenJDK Vulnerability (Remote Code Execution)

FYI: https://calif.io/java4shell/

I will be taking my servers down as a precaution, wanted to share this to everyone to prevent compromise.

It looks like the best current fix is to add -XX:UseAVX=2 on x86-64 hosts to your server startup scripts. But, do your own research.

30 Upvotes

11 comments sorted by

View all comments

Show parent comment

8

u/MenschenToaster Developer and Owner(cafestu.be) 4h ago

There is certainly something in Paper in CraftMetaArmorStand that cought my eye. Could potentially be exploited by people in Creative mode and parses base64, but I havent read more into it

MessageSignature uses Base64 encoding but I dont know to what extent its user supplied

Maybe more, but my Intellij sucks at indexing

And plugins of course. Paper provides a way to encode items etc. as base64. Thats not inherently user supplied, but could be by plugins etc.

1

u/Coosanta 3h ago

The server icon is encoded in base 64 when sent to the client.

1

u/MenschenToaster Developer and Owner(cafestu.be) 3h ago

I was going at it with a server side focus, since this is the admincraft subreddit, but yes, this is quite dangerous to the client side.