Description
Universal-modder before commit e88f6876745427321eb755ebc98276063a962d8a contains a missing WebSocket Origin validation vulnerability in the HostLink class of its passthrough example mods that allows remote attackers to execute Minecraft commands. Any web page open in the player's browser can connect cross-site to the unauthenticated loopback WebSocket and send cmd messages that WorldBridge.command() runs with operator authority.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| rehan-remade | universal-modder | — | — |
References
- GitHub Security Advisory (GHSA-wjf6-3h6v-4gq9) vendor-advisory
- https://github.com/rehan-remade/universal-modder/commit/e88f6876745427321eb755ebc98276063a962d8a patch
- https://github.com/rehan-remade/universal-modder/blob/edf45f6a26cb047886d9d7bcba392c328fc3d317/examples/minecraft-gta5-passthrough/mc/src/client/java/dev/rehan/passthrough/client/HostLink.java#L54-L72 technical-description
- VulnCheck Advisory: Universal-modder before e88f687 Cross-Site WebSocket Command Execution via HostLink third-party-advisory