Skip to main content
Menu
Advisories

Webservice API multishop scope bypass via id_shop=all / id_shop_group

GHSA-3F36-4QV4-VFGHPublished Updated GitHub

Description

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

---

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.

Affected versions

References

GitHub · PrestaShop/PrestaShop