ZeroHour

CVE-2023-54355

moderate

Unauthenticated crash (DoS) in PocketMine-MP via malformed login packet key

CVSS 4.0
8.7 high
EPSS
<1%p13
Published
()
Modified
AI analysis

PocketMine-MP, a widely used PHP-based server implementation for Minecraft: Bedrock Edition, fails to verify that the identityPublicKey in login packets uses the required secp384r1 (NIST P-384) elliptic curve, an improper cryptographic verification flaw (CWE-347). A remote, unauthenticated attacker can send a LoginPacket whose key uses a different curve or a non-elliptic-curve key type; the key passes the initial login verification, but an uncaught exception is thrown later during ECDH shared-key derivation. The uncaught exception crashes the server process, giving the attacker full availability impact — a pre-authentication remote denial of service (CVSS 4.0: 8.7 High, availability-only). All deployments running PocketMine-MP before 5.3.1 in the 5.x branch or before 4.23.1 in the 4.x branch are affected, especially servers publicly reachable on the Bedrock protocol port. Exploitation is not currently documented: the issue is not in CISA KEV and no public proof-of-concept is known, though the attack is straightforward for anyone aware of the flaw.

What to do: Upgrade to PocketMine-MP 5.3.1 or later, or to 4.23.1 or later if you must remain on the 4.x branch. Because the flaw is pre-authentication, there is no in-product toggle to mitigate it; until you patch, restrict access to the Bedrock protocol port (default 19132/UDP) with firewall rules or server allowlists so only trusted players can reach the server. Note that any publicly reachable server can be crashed repeatedly, so treat patching as urgent for community-facing deployments.

Affected
PocketMine-MP Project (pmmp) PocketMine-MP 5.xPrior to 5.3.1 (5.x branch; fixed in 5.3.1)
PocketMine-MP Project (pmmp) PocketMine-MP 4.xPrior to 4.23.1 (4.x branch; fixed in 4.23.1)
Estimated exposure
moderate≈ low thousands of active server deployments, plausibly 10k–100k players affected — Public scans of the Minecraft Bedrock server ecosystem and PocketMine's opt-in server telemetry have historically shown on the order of thousands of active PocketMine deployments, with tens of players per server implying a…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

PocketMine-MP versions before 5.3.1 and 4.23.1 fail to validate that the identityPublicKey in LoginPacket uses the required secp384r1 elliptic curve. Attackers can provide LoginPackets with keys using different curves or non-EC key types to pass login verification but trigger an uncaught exception during ECDH key derivation, crashing the server.

Weakness
CWE-347
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.