GHSA-3F36-4QV4-VFGH
Webservice API multishop scope bypass via id_shop=all / id_shop_group
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-3F36-4QV4-VFGH divulgada · CVSS 8.1 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Impact
A Webservice API key restricted to one shop could act on the data of every shop. A request asking for all shops, or for a shop group, extended the shop context without checking the shops associated with the key, and the key was then accepted as soon as it was associated with one of them. A key limited to one shop could therefore read, and within its permissions change or delete, data of shops it is not associated with, for example the full customer records of every shop.
Patches
Upgrade to 9.2.1 or 8.2.9
Workarounds
- Disable the Webservice API if it is not used, and treat any shop-restricted key as valid for every shop until upgrading.
References
- CWE-862: Missing Authorization
https://cwe.mitre.org/data/definitions/862.html - CWE-863: Incorrect Authorization
https://cwe.mitre.org/data/definitions/863.html
---
_Credits: this vulnerability was responsibly reported to the PrestaShop security team by a researcher coordinated by VulnCheck, and independently by Sakil Ahamed Gayen and Gurvir Bajwa. We thank them for their report and for coordinating the disclosure with us._
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Packagistprestashop/prestashop |
Corregida | 8.2.9, 9.2.1 | — | — |
8.2.99.2.1Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-3f36-4qv4-vfghLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
