WooCommerce Dynamic Pricing and Discounts <= 2.4.1 - Unauthenticated Settings Import/Export
Strategic Overview
- Status
- Patched in 2.4.2
- Affected Plugin
- WooCommerce Dynamic Pricing and Discounts
- Affected Version
< 2.4.2- CVSS
- 5.3Medium
- Weakness type
- CWE-288 · Authentication Bypass Using an Alternate Path or Channel
- CVE
CVE-2021-4353
At a glance
CVE-2021-4353 is a medium-severity Authentication Bypass Using an Alternate Path or Channel vulnerability in the WooCommerce Dynamic Pricing and Discounts WordPress plugin, affecting versions < 2.4.2. 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 2.4.2; sites on affected versions should update now. Disclosed August 2021, reported by Jerome Bruandet.
Vulnerability Overview
The WooCommerce Dynamic Pricing and Discounts plugin for WordPress is vulnerable to unauthenticated settings export in versions up to, and including, 2.4.1. This is due to missing authorization on the export() function which makes makes it possible for unauthenticated attackers to export the plugin's settings.
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-288: Authentication Bypass Using an Alternate Path or Channel
WooCommerce Dynamic Pricing and Discounts < 2.4.2 carries this weakness at export(), and reaching it takes no account at all. Authentication bypass through an alternate path means the application has a second route to a protected action that skips the checks the primary route performs.
The protection on the main path becomes irrelevant, because the attacker simply uses the route that never asks. For WooCommerce Dynamic Pricing and Discounts the fix is 2.4.2: builds < 2.4.2 are affected, anything from 2.4.2 onward is not.
Remediation
Update to version 2.4.2, 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 Dynamic Pricing and Discounts 2.4.2 closes this, and updating the plugin is the step that ends it.
- Login Security
- Alerts
External References
Related records
Other vulnerabilities in WooCommerce Dynamic Pricing and Discounts
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C