GHSA-G2FJ-P69P-9CHP
Improper handling of new offline login flow
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-G2FJ-P69P-9CHP divulgada · CVSS 7.5 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
### Summary
Offline players can crash the server, even if offline mode is disabled.
### Details
If a player joins without Xbox authentication, the server throws this error:
[Server thread/CRITICAL]: Error: "Typed property pocketmine\network\mcpe\protocol\types\login\AuthenticationInfo::$Certificate must not be accessed before initialization"The issue happens during the login process before the player is fully rejected.
This happened because the `@required` annotation was removed from the `Certificate` field in `AuthenticationInfo` https://github.com/pmmp/BedrockProtocol/blob/d17195abea578d692e8d1709b3aa63b2bdaef7a6/src/types/login/AuthenticationInfo.php#L25, without accounting for this change on the PM side. This caused unauthenticated players (who no longer provide the `Certificate` field) to trigger a server crash due to the field being uninitialized.
### PoC
1. Join using a client without Xbox authentication.
2. The server throws the error above and may crash.
### Impact
Any unauthenticated player can remotely crash.
- No authentication required
- Affects public servers
- Can be abused repeatedly
### Patches
The issue was fixed with https://github.com/pmmp/PocketMine-MP/commit/e4aaef4ee0f769b52dc0347a1d6da403b9691115 and https://github.com/pmmp/PocketMine-MP/commit/8c75a1d739e8e190d3cc2338b25cebcc9c052b1b.
Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.
Desglose de métricas
Versiones afectadas
5.43.0Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Packagistpocketmine/pocketmine-mp |
Sin parche | — | — | — |
Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/pmmp/PocketMine-MP/security/advisories/GHSA-g2fj-p69p-9chpLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
