Bleeding Pipe: A RCE vulnerability exploited in the wild
A vulnerability in several Minecraft mods using unsafe Java deserialisation allowed remote code execution on servers and clients. Attackers scanned servers and exploited them, potentially spreading to clients.
blog.mmpa.info
Published on blog.mmpa.info
This vulnerability has already been exploited many times and many 1.7.10/1.12.2 modpacks are vulnerable, however any other version of Minecraft can be affected if an affected mod is installed.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
The mods used Java's ObjectInputStream for network communication without validating the incoming serialised data, allowing a deserialisation gadget chain to execute arbitrary code.
Impact
Attackers could run any code on vulnerable servers and potentially on clients that connect to them, though the exact payload contents are unknown.
What the attacker needed
Server or client runs a vulnerable mod version; attacker can send network packets to the server
The fix
The affected mods were fixed in updated versions, and a blocking mod (PipeBlocker) was released to mitigate the issue.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Some Minecraft mods used a Java feature that turns data back into objects without checking what those objects are. Attackers could send a malicious message that, when turned back into an object, ran their code on the server or player's computer.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.