WooCommerce Smart Coupons <= 4.6.0 - Unauthenticated Coupon Creation
Strategic Overview
- Status
- Patched in 4.6.5
- Affected Plugin
- WooCommerce Smart Coupons
- Affected Version
< 4.6.5- CVSS
- 5.3Medium
- Weakness type
- CWE-285 · Improper Authorization
- CVE
CVE-2020-36841
At a glance
CVE-2020-36841 is a medium-severity Improper Authorization vulnerability in the WooCommerce Smart Coupons WordPress plugin, affecting versions < 4.6.5. It carries a CVSS score of 5.3 (reachable over the network; low attack complexity). Exploitation requires no authentication. The issue is fixed in version 4.6.5; sites on affected versions should update now. Disclosed March 2020, reported by Aaron Averbuch.
Vulnerability Overview
The WooCommerce Smart Coupons plugin for WordPress is vulnerable to authorization bypass due to a missing capability check on the woocommerce_coupon_admin_init function in versions up to, and including, 4.6.0. This makes it possible for unauthenticated attackers to send themselves gift certificates of any value, which could be redeemed for products sold on the victim’s storefront.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no privileges on the target site, and no interaction from a victim user.
CWE-285: Improper Authorization
Reaching this weakness in WooCommerce Smart Coupons < 4.6.5 takes no account at all. Improper authorization means a permission check exists but does not cover the case being exercised, so a caller who is allowed to do one thing is allowed to do a neighbouring thing as well.
A lower-privileged account performs an action reserved for a higher one, which on a multi-author or membership site means an ordinary user reaching administrative behaviour. For WooCommerce Smart Coupons the fix is 4.6.5: builds < 4.6.5 are affected, anything from 4.6.5 onward is not.
Remediation
Update to version 4.6.5, or a newer patched version
How does WordSec protect against this?
This one needs no account at all, which puts it outside what login hardening can reach; WordSec's login security narrows the account-level paths around it, and the firewall is what inspects the request itself. None of that substitutes for the fix: WooCommerce Smart Coupons 4.6.5 closes this, and updating the plugin is the step that ends it.
- Login Security
- Alerts
External References
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C