Several network layer vulnerabilities exist that seriously harm the security of the BDS server
Introduction of the situation
Recently, the community received numbers of reports about network attack to BDS servers. After capturing packets and analysis, several serious vulnerabilities were found.
Now we know that through sending malicious attack packets, hackers can make the server crash, or cause the main thread jamming.
Some vulnerability exploitation tools have been published to github, and some have been under a large number of public dissemination. These vulnerabilities cause great harm to BDS server operations.
Realms and Netease are under attack
Not only for BDS servers, these vulnerabilities can also be used to crash XBox Realms servers and the Chinese version of the Netease servers. There have been reports of attacks that by scanning the network segment and conducting a bulk attack, hackers can easily cause a large number of Realms servers to crash and restart
Attack replay tools
Several vulnerabilities or their exploits are attached below as an attachment. The attack can be reproduced using the provided replay tool. The introduction and usage is packed in this zip file
Possible solution
I think it will help to solve these problems:
Identify all incoming packets , and prohibit receiving all packets that are not from the player in the server by checking valid NetworkIdentifier or NetworkHandler::Connection
And then, these replay attacks will never occur any more.
The community have been trying to fix these vulnerabilities to protect ourselves for a long time. Some community fixes can be found at https://github.com/LiteLDev/LiteLoaderBDS/blob/main/LiteLoader/Main/BuiltinBugFix.cpp
Advice & Future
Currently, it is rumored that new vulnerabilities are still being explored and used for attacks. We urge Mojang to pay attention to the related issues, review and check the potential safety hazards for the whole network layer (around NetworkHandler and other code about packets)
Since the vulnerability has been abused, we hope that it can be fixed as soon as possible
Environment
Windows Server 2019, 2016 or any other version
Linked Issues
Attachments2
Comments2
History9
Changed summary:
Added labels: NetworkPacket vulnerability bds
Changed description:
Introduction of the situation
0Recently, the community received numbers of reports about network attack to BDS servers. After capturing packets and analysis, several serious vulnerabilities were found.
0Now we know that through sending malicious attack packets, hackers can make the server crash, or cause the main thread jamming.
Some vulnerability exploitation tools have been published to github, and some have been under a large number of public dissemination. These vulnerabilities cause great harm to BDS server operations.
0Realms and Netease are under attack
0Not only for BDS servers, these vulnerabilities can also be used to crash XBox Realms servers and the Chinese version of the Netease servers. There have been reports of attacks that by scanning the network segment and conducting a bulk attack, hackers can easily cause a large number of Realms servers to crash and restart
0Attack replay tools
0Several vulnerabilities or their exploits are attached below as an attachment. The attack can be reproduced using the provided replay tool. The introduction and usage is packed in this zip file
0Possible solution
0I think it will help to solve these problems:
0Identify all incoming packets , and prohibit receiving all packets that are not from the player in the server by checking valid NetworkIdentifier or NetworkHandler::Connection
0And then, these replay attacks will never occur any more.
The community have been trying to fix these vulnerabilities to protect ourselves for a long time. Some community fixes can be found at https://github.com/LiteLDev/LiteLoaderBDS/blob/main/LiteLoader/Main/BuiltinBugFix.cpp
0Advice & Future
0Currently, it is rumored that new vulnerabilities are still being explored and used for attacks. We urge Mojang to pay attention to the related issues, review and check the potential safety hazards for the whole network layer (around NetworkHandler and other code about packets)
Since the vulnerability has been abused, we hope that it can be fixed as soon as possible
Resolution: Unresolved → Awaiting Response
Deleted comment:
Hi
Does ticket BDS-15528 describe your issues?
This ticket will automatically reopen when you reply.
Resolution: Awaiting Response → Unresolved
Added duplicates link: BDS-15528Please fix CVE-2021-45383 & CVE-2021-45384Fixed
Resolution: Unresolved → Duplicate

Thank you for your report!
We're tracking this issue in
BDS-15528, so this ticket is being resolved and linked as a duplicate.If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 BDS Wiki – 📖 FAQs
I don't think it is duplicate because this provides 3 more other vulnerability and their replay tools
These three new vulnerabilities is serious too, and tools provided can help you better solve these problems