Description
mall4j through 4.0 contains an improper authorization vulnerability that allows authenticated storefront customers to delete other shoppers' cart items through an operator precedence error in the cleanExpiryProdList SQL statement. Attackers can send one DELETE request to /p/shopCart/cleanExpiryProdList to remove every user's cart entries for off-shelf products, which do not return when products are restocked.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| gz-yami | mall4j | ≤ 4.0 | — |
References
- Researcher Proof of Concept exploit
- Vulnerable Code (4.0) technical-description
- Vulnerable Handler (4.0) technical-description
- VulnCheck Advisory: mall4j through 4.0 Operator Precedence Error Deletes Other Users' Cart Items via /p/shopCart/cleanExpiryProdList third-party-advisory