Skip to main content
Menu
Advisories

Webservice API cross-tenant customer takeover via missing record-level shop check

GHSA-HJWQ-7QVV-QXJ4Published Updated GitHub

Description

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

---

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.

Affected versions

References

GitHub · PrestaShop/PrestaShop