Description
Bagisto before 2.3.16 and 2.4.x before 2.4.1 contains a race condition vulnerability in manageCartRule() that allows attackers to redeem single-use coupons multiple times. Attackers can submit concurrent order requests to the onepage orders checkout endpoint, bypassing unlocked times_used checks to apply discounts repeatedly.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
bagisto bagisto
Default version status: unaffected
0 to < 2.3.16affected2.4.0 to < 2.4.1affected2.3.16unaffected2.4.1unaffected
pkg:composer/bagisto/bagistoReferences
- https://github.com/bagisto/bagisto/commit/81cb2a2a35b355492f704fd216d679f2145a5650 ↗
- https://github.com/bagisto/bagisto/commit/1f57c10eb9cb61b37de4706ffa439fd26aa7c405 ↗
- https://github.com/bagisto/bagisto/releases/tag/v2.3.16 ↗
- https://github.com/bagisto/bagisto/releases/tag/v2.4.1 ↗
- https://gist.github.com/Ayxpp/5358d9fff045e94e0ddb51677ed5d195 ↗
- https://github.com/bagisto/bagisto/blob/v2.4.0/packages/Webkul/CartRule/src/Listeners/Order.php#L30-L95 ↗
- https://github.com/bagisto/bagisto ↗
- https://www.vulncheck.com/advisories/bagisto-before-2.3.16-and-2.4-x-before-2.4.1-race-condition-in-coupon-usage-accounting ↗