Description
Shopizer through 3.2.5 contains an authorization bypass vulnerability that allows authenticated customers to post reviews as other customers by supplying a customerId field. Attackers can send crafted requests to POST /api/v1/auth/products/{id}/reviews to publish reviews and ratings attributed to other store customers, corrupting authorship and product ratings.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Shopizer | Shopizer | ≤ 3.2.5 | — |
References
- https://github.com/shopizer-ecommerce/shopizer/issues/1112 issue-tracking
- https://hackmd.io/@hieuPenguinnn/shopizer-rest-product-review-idor technical-description exploit
- https://github.com/shopizer-ecommerce/shopizer/blob/9a1602a664ab882b5420ff4339db45af44a48423/sm-shop/src/main/java/com/salesmanager/shop/populator/catalog/PersistableProductReviewPopulator.java#L66 technical-description
- https://github.com/shopizer-ecommerce/shopizer product
- VulnCheck Advisory: Shopizer through 3.2.5 Authorization Bypass via Product Review customerId third-party-advisory