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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
rehan-remade universal-modder
Default version status: unaffected
0 to < e88f6876745427321eb755ebc98276063a962d8aaffected
References
- https://github.com/rehan-remade/universal-modder/security/advisories/GHSA-wjf6-3h6v-4gq9 ↗
- https://github.com/rehan-remade/universal-modder/commit/e88f6876745427321eb755ebc98276063a962d8a ↗
- 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 ↗
- https://www.vulncheck.com/advisories/universal-modder-before-e88f687-cross-site-websocket-command-execution-via-hostlink ↗