Description (CNA)
Thelia before 3.1.5 and 3.2.x before 3.2.4 contains a business logic vulnerability that allows authenticated customers to bypass coupon usage limits because usage is counted only when orders become paid. Attackers can place multiple pay-later orders while a usage remains, or cancel paid orders to inflate max_usage, gaining unlimited discounts.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Thelia / Thelia | affected 2.6.2 before 3.1.5; affected 3.2.0 before 3.2.4 |
CWE
CWE-837
References
- https://github.com/thelia/thelia/security/advisories/GHSA-pq5m-7g9w-ppg8
- https://github.com/thelia/thelia/commit/1c3ed9c7ad57fec8ea959aa2d2f506f9892777ea
- https://github.com/thelia/thelia/commit/edb7078bfce5ea31b40868d340b0b49dcc6cf00c
- https://github.com/thelia/thelia/blob/3.2.3/core/lib/Thelia/Domain/Promotion/Coupon/Service/OrderCouponUsageManager.php
- https://github.com/thelia/thelia/blob/3.2.3/core/lib/Thelia/Domain/Promotion/Coupon/Service/CouponManager.php
- https://github.com/thelia/thelia/blob/3.2.3/core/lib/Thelia/Action/Coupon.php
- https://github.com/thelia/thelia/releases/tag/3.1.5
- https://github.com/thelia/thelia/releases/tag/3.2.4
- https://www.vulncheck.com/advisories/thelia-before-3.1.5-and-3.2.4-coupon-usage-limit-bypass-via-pay-later-orders
ADP enrichment
No English description supplied.
No references supplied.