Affected versions
- Affected versions
- <3.2.10
- Fixed version
- 3.2.10
Exploitation
Description
The Ultimate Gift Cards for WooCommerce plugin for WordPress is vulnerable to Payment Bypass in all versions up to 3.2.10. This is due to use of the pre-discount item price ($original_price) instead of the actual post-discount line total ($item->get_total()) when setting the issued gift card coupon amount, combined with a missing check preventing discount coupons from being applied to gift card products. This makes it possible for unauthenticated attackers to obtain gift card store credit worth more than they actually paid by applying discount coupons to gift card purchases, causing the issued coupon value to reflect the pre-discount product price rather than the actual amount collected.
Links
Credits
- Guillermo Álvarez Fernández

