11

IMPORTANT: Java Exploit (Remote Code Execution)notification_important

lloyddominic26 12/10/21 12:30 am
680
12/15/2021 12:03 pm
(Posting this for the awareness of everyone since this is a Minecraft forum community and I have noticed that no one has made a thread about this yet)

An exploit has been discovered in a library that Minecraft uses, which could be used for remote code execution. Players can type a malicious chat message that could result to the code being executed in your computer. This affects literally every server from 1.7 to 1.18, and the type of server (i.e. Bukkit-based, Sponge, Fabric, etc.) does not matter since the vanilla Minecraft server is also affected by the exploit. The Minecraft client has also been affected.

SOLUTIONS
Here are some few things you can do to prevent yourself from the exploit:
1. Update your launcher to the latest version.
2. If you, or someone you know, owns a server, ask them to update the server as well.
3. Add this Java argument to both the client and server: -Dlog4j2.formatMsgNoLookups=true

For now, you are highly suggested to NOT JOIN PUBLIC SERVERS!

Sources
  1. https://www.reddit.com/r/admincraft/comments/rcp138/paper_exploit_found_you_need_to_update_fast/
  2. https://www.reddit.com/r/Minecraft/comments/rcum79/important_javawide_exploit_that_lets_people/
  3. https://twitter.com/slicedlime/status/1469150993527017483
  4. https://www.reddit.com/r/hypixel/comments/rcv207/warning_do_not_log_onto_public_servers_new/
  5. https://www.reddit.com/r/programming/comments/rcxehp/rce_0day_exploit_found_in_log4j_a_popular_java/
  6. https://hypixel.net/threads/psa-there-is-a-fatal-remote-code-execution-exploit-in-minecraft-and-its-by-typing-in-chat.4703238/
Posted by
lloyddominic26
Level 20 : Expert Birb
30

  Have something to say?

JoinSign in

14

TimeWarpDrive
12/10/2021 6:16 pm
Level 53 : Grandmaster Architect
Remote code execution.... what type of code would this be?
3
misterich
12/13/2021 8:15 am
Level 66 : High Grandmaster Architect
That means that anyone could run shell commands (also what you could do in your command line) with your computer permission. Anything running on your computer using quasi shell commands in background. So if anyone is able to execute any shell command on your computer with your permission level and your permission level is likly administrator that one controlles you computer and could do basicly anything; including very bad stuff like reading anything you tipp, install coin miners, using your computer for illegal hacking operations or installing software like ransomware.



Unwanted Remote Code Execution is the worst thing in IT so take this Java problem serious.
1
enderstandable
12/12/2021 4:33 pm
He/They • Level 36 : Artisan Skinner Nerd
Any code the executioner wants
1
Xhepyxopila
12/15/2021 12:03 pm
Level 9 : Apprentice Pony
It's a good thing I rarely ever play on servers lol
1
GoGf
12/12/2021 4:27 pm
Level 1 : New Miner
something new
1
Comradeee
12/11/2021 9:52 am
Level 39 : Artisan System
history
I do not have a new official launcher (no Windows 10 edition), I play on 1.18.1. and 1.17.1 in single player. I already heard about some hole Is something threatening me?
1
lesiq
12/11/2021 10:00 am
He/Him • Level 48 : Master Dragonborn Lego Builder
не парься
1
Comradeee
12/11/2021 10:24 am
Level 39 : Artisan System
окс
1
TheRockstar
12/10/2021 6:22 pm
Level 26 : Expert Miner
Very nice guide, most servers have either filtered / removed this error.
Although you should be careful when entering other less reputable servers due to
the fact it could be vulnerable to data breaches and so much more.
1
star_weaver
12/10/2021 3:24 am
She/Her • Level 27 : Expert Princess Button Pusher
With version 8u121+ it "probably" won't cause RCE as there are additional flags that have to be enabled for it. I also couldn't trigger execution on openjdk version "11.0.13".

Either way it's indeed just ~60 char long string that can cause everyone to freeze for one minute at least (it's trying to connect to remote ldap server, so some connection timeout/retry).

It's both server and client and it had to been there for some time.

in short, update your shit and your safe
1
wellsilver
12/10/2021 5:02 pm
Level 1 : New Explorer
history
people who use the 2 month old launcher because the new launcher is "horrible, bad, and never will use because its Microsoft crap" will be upset when they update to find that its literally the exact same thing with some promised features and easier Microsoft login
2
ShelLuser
12/11/2021 9:32 pm
Level 61 : High Grandmaster System
Nonsense. It's not easier because the "new" launcher does not allow you to use multiple accounts side by side.

And another thing: the "old" (or current?) launcher remains fully supported by Mojang, so there are 0 negative effects from using it.
1
lloyddominic26
12/11/2021 12:29 am
Level 20 : Expert Birb
How is this related to the topic?
1
star_weaver
12/11/2021 12:09 am
She/Her • Level 27 : Expert Princess Button Pusher
its a java issue not a launcher issue
1

Welcome