Descrizione
mall4j through 4.0 contains an information disclosure vulnerability that allows authenticated customers to read other shoppers' cart items due to an operator precedence error in the getShopCartExpiryItems SQL filter. Attackers with any storefront account can request GET /p/shopCart/expiryProdList to retrieve off-shelf product basket entries including product, SKU, quantity, shop, and promoter card numbers.
Tipo di vulnerabilità
CWE-783
Operator Precedence Logic Error
The product uses an expression in which operator precedence causes incorrect logic to be used.
Impatto sui sistemi
| Ambito | Impatto |
| Riservatezza, Integrità, Disponibilità |
Dipende dal contesto, Stato imprevisto |
Come si previene
Sviluppo
Regularly wrap sub-expressions in parentheses, especially in security-critical code.
Tutte le 19 CVE di tipo CWE-783, con andamento e prevenzione