Description
waynboot-mall through 2.0.0 contains an insecure direct object reference vulnerability in the mobile CartController that allows authenticated members to modify or delete other members' cart items. Attackers can enumerate sequential cart ids via PUT /cart, POST /cart/changeNum, and DELETE /cart/{cartId} to change quantities, selection state, or remove items.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| wayn111 | waynboot-mall | ≤ 2.0.0 | — |
References
- https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/waynboot-mall-mobile-member-ownership-idor third-party-advisory
- https://github.com/wayn111/waynboot-mall/blob/v2.0.0/waynboot-mobile-api/src/main/java/com/wayn/mobile/api/controller/CartController.java#L75-L101 technical-description
- https://github.com/wayn111/waynboot-mall/blob/v2.0.0/waynboot-common/src/main/java/com/wayn/common/core/service/shop/impl/CartServiceImpl.java#L151-L158 technical-description
- waynboot-mall v2.0.0 Release Notes release-notes
- VulnCheck Advisory: waynboot-mall through 2.0.0 IDOR via Mobile Cart Endpoints third-party-advisory