GHSA-HJWQ-7QVV-QXJ4
Webservice API cross-tenant customer takeover via missing record-level shop check
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-HJWQ-7QVV-QXJ4 divulgada · CVSS 8.1 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Impact
A Webservice API key associated with one shop could read and modify customer records of any shop of the installation. The key was checked against the shop named in the request, but the shop of the record actually loaded was never checked. A key limited to one shop with access to customers could therefore read any customer, including the password hash and secure key, and change any customer's email and password, which takes over the account. Delete, create and update requests were affected the same way.
Patches
Upgrade to 9.2.1 or 8.2.9
Workarounds
- Disable the Webservice API if it is not used, and only give customer permissions to keys of fully trusted integrations.
References
- CWE-639: Authorization Bypass Through User-Controlled Key
https://cwe.mitre.org/data/definitions/639.html - CWE-862: Missing Authorization
https://cwe.mitre.org/data/definitions/862.html
---
_Credits: this vulnerability was responsibly reported to the PrestaShop security team by a researcher coordinated by VulnCheck, boo-code 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-hjwq-7qvv-qxj4Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
