CVE-2024-41564
📋 TL;DR
This vulnerability in EMI mod for Minecraft allows in-game item duplication through improper validation of slot indexes and stack counts. It affects all Minecraft servers running EMI mod version 1.1.10 or earlier. The issue enables players to duplicate items within the game economy.
💻 Affected Systems
- EMI (Easy Minecraft Inventory) mod for Minecraft
📦 What is this software?
Emi by Emilyploszaj
⚠️ Risk & Real-World Impact
Worst Case
Complete disruption of in-game economy through mass item duplication, leading to server instability and player dissatisfaction.
Likely Case
Moderate economic disruption as players exploit the bug to duplicate valuable items, requiring server rollbacks or manual intervention.
If Mitigated
Minimal impact if detected early and players are prevented from exploiting before patching.
🎯 Exploit Status
Exploit requires authenticated player access. Public proof-of-concept exists in GitHub gist.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: v1.1.11
Vendor Advisory: https://github.com/emilyploszaj/emi/blob/1.21/xplat/src/main/java/dev/emi/emi/network/FillRecipeC2SPacket.java
Restart Required: Yes
Instructions:
1. Download EMI v1.1.11 from official sources. 2. Replace existing EMI mod files with new version. 3. Restart Minecraft server. 4. Verify version shows 1.1.11.
🔧 Temporary Workarounds
Disable EMI mod temporarily
allRemove or disable EMI mod until patched
mv emi-*.jar emi-disabled.jar
# Move EMI jar file to disable
Restrict player permissions
allLimit player access to crafting/recipe functions
🧯 If You Can't Patch
- Monitor server logs for unusual item duplication patterns
- Implement regular server backups to restore state if exploitation occurs
🔍 How to Verify
Check if Vulnerable:
Check EMI mod version in server mods folder. If version is 1.1.10 or earlier, system is vulnerable.
Check Version:
ls -la mods/emi-*.jar | grep -o 'emi-[0-9.]*\.jar'
Verify Fix Applied:
Verify EMI mod version shows 1.1.11 and test that item duplication no longer works.
📡 Detection & Monitoring
Log Indicators:
- Unusual item count changes
- Rapid inventory modifications
- Multiple identical item transactions in short time
Network Indicators:
- Abnormal packet frequency to FillRecipeC2SPacket handler
SIEM Query:
source="minecraft.log" AND "FillRecipeC2SPacket" AND count(item_id) > threshold