llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Packagist · pocketmine/pocketmine-mp

GHSA-FQX3-R75H-VC89

Improperly checked IDs on itemstacks received from the client leading to server crash in PocketMine-MP

Parche disponible
Descargar PNG JSON
CVSS
—
high
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión4.4.2
Exposición1.625 dDesde la divulgación, 7 jun 2022, 4:07 p. m.
Detección1.623 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Monitoreo
Detectada
7 jun 22
8 sept 26
17 nov 26
19 nov 26
7 jun 22
19 jul 23
28 ago 24
9 oct 25
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-FQX3-R75H-VC89 divulgada
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

### Impact
Due to a workaround for unmapped network items implemented in 4.0.0-BETA5 (8ac16345a3bc099b62c1f5cfbf3b736e621c3f76), arbitrary item IDs are able to be written into an item's NBT. The intended purpose of this is to make said unmapped network items able to be moved around the inventory without issues.

This led to an exploit due to internal limits on the range that item IDs can occupy (-32768 - 32767), while the tag type used to represent the replacement IDs for unknown items is a `TAG_Int`, allowing a range from -(2^31) - 2^31 - 1. This leads to an uncaught exception which crashes the server.

### Patches
5fd685e07d61ef670584ed11a52fd5f4b99a81a7

### Workarounds
In theory this can be checked by plugins using a custom `TypeConverter`, but this is likely to be very cumbersome.

### For more information
If you have any questions or comments about this advisory:
* Email us at [team@pmmp.io](mailto:team@pmmp.io)

Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.

Versiones

Rangos afectados

Afectada Corregida
pocketmine/pocketmine-mp≥ 4.0.0-BETA5 < 4.4.2
4.0.0-BETA5
4.4.2
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Packagistpocketmine/pocketmine-mp
Corregida 4.4.2 — —
Versiones corregidas4.4.2
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Otrahttps://github.com/pmmp/PocketMine-MP/security/advisories/GHSA-fqx3-r75h-vc89
Otrahttps://github.com/pmmp/PocketMine-MP/commit/5fd685e07d61ef670584ed11a52fd5f4b99a81a7
Otrahttps://github.com/pmmp/PocketMine-MP/commit/8ac16345a3bc099b62c1f5cfbf3b736e621c3f76
Otrahttps://github.com/pmmp/PocketMine-MP

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.