GHSA-H87R-F4VC-MCHV
PocketMine-MP vulnerable to improperly checked dropped item count leading to server crash
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-H87R-F4VC-MCHV divulgada | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
### Impact
In 4.18.0, the network handling of inventories was completely revamped. Due to this, a bug was introduced which allowed players to request that the server drop more of an item than they had available in their hotbar.
This did not lead to any duplication issues, but instead led to a server crash, and is believed to have been exploited in the wild.
### Patches
This was fixed in 58974765a68f63a9968a7ff3a06f584ff2ee08d2, which was released in 4.18.1.
### Workarounds
Handle `InventoryTransactionPacket` in `DataPacketReceiveEvent`, and verify that the item count dropped isn't more than the available item count. However, it's complicated to do this, so it's not recommended.
Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Packagistpocketmine/pocketmine-mp |
Corregida | 4.18.1 | — | — |
4.18.1Arsenal 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-h87r-f4vc-mchvhttps://github.com/pmmp/PocketMine-MP/commit/58974765a68f63a9968a7ff3a06f584ff2ee08d2https://github.com/pmmp/PocketMine-MPhttps://github.com/pmmp/PocketMine-MP/blob/4.18.1/changelogs/4.18.md#4181https://www.cve.org/cverecord?id=CVE-2023-7332https://www.vulncheck.com/advisories/pocketmine-mp-improper-validation-of-dropped-item-count-allows-remote-server-crashLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
