Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Thelia Thelia
Default version status: unaffected
2.6.2 to < 3.1.5affected3.2.0 to < 3.2.4affected
pkg:composer/thelia/theliaReferences
- 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 ↗