PrestaShopのWebservice APIに認可回避の脆弱性、他ショップの顧客情報が漏えいのおそれ
Summary
PrestaShopのWebservice APIに、特定ショップ向けのキーで他のショップのデータを操作できる脆弱性が見つかりました。id_shopに「all」などを指定すると認可の検証が回避され、メールアドレスやパスワードのハッシュを含む顧客情報が読み取り・改ざんされるおそれがあります。影響するのは8.2.9未満と9.0.0以上9.2.1未満で、8.2.9と9.2.1に修正版が公開されています。マルチショップ構成で運用している場合は、早めに修正版へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
PrestaShopのWebservice APIに、特定ショップ向けのキーで他のショップのデータを操作できる脆弱性が見つかりました。id_shopに「all」などを指定すると認可の検証が回避され、メールアドレスやパスワードのハッシュを含む顧客情報が読み取り・改ざんされるおそれがあります。影響するのは8.2.9未満と9.0.0以上9.2.1未満で、8.2.9と9.2.1に修正版が公開されています。マルチショップ構成で運用している場合は、早めに修正版へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| PrestaShopPrestaShop |
< 8.2.9→ 8.2.9 ≥ 9.0.0, < 9.2.1→ 9.2.1 |
8.2.9 9.2.1 |
Original description The description as published by the source.
PrestaShop before 8.2.9 and 9.2.1 contains an authorization flaw in the Webservice API that allows an attacker holding a key restricted to one shop to act on data of every shop by submitting requests with id_shop=all or id_shop_group=N, which expand the shop context without validating the key's actual shop associations and cause shopHasRight() to evaluate the expanded set as a disjunction. Attackers can exploit this flaw via classes/webservice/WebserviceRequest.php to read, modify, or delete data belonging to shops they are not authorized for, including full customer records such as email addresses, secure_key, and password hashes across the installation.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- report codeant.ai