WooCommerce Square <= 3.8.1 - Missing Authorization via multiple AJAX actions
Strategic Overview
- Status
- Patched in 3.8.2
- Affected Plugin
- WooCommerce Square
- Affected Version
<= 3.8.1- CVSS
- 4.3Medium
- Weakness type
- CWE-639 · Authorization Bypass Through User-Controlled Key
- CVE
CVE-2023-35876
At a glance
CVE-2023-35876 is a medium-severity Authorization Bypass Through User-Controlled Key vulnerability in the WooCommerce Square WordPress plugin, affecting versions <= 3.8.1. It carries a CVSS score of 4.3 (reachable over the network; low attack complexity). The root cause is a missing authorization check on a reachable function. The issue is fixed in version 3.8.2; sites on affected versions should update now. Disclosed June 2023, reported by Rafie Muhammad.
Vulnerability Overview
The WooCommerce Square plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on multiple AJAX functions in versions up to, and including, 3.8.1. This makes it possible for authenticated attackers with contributor-level privileges to modify other user's orders.
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 interaction from a victim user.
CWE-639: Authorization Bypass Through User-Controlled Key
Reaching this weakness in WooCommerce Square <= 3.8.1 takes a caller who can reach the endpoint. Authorization bypass through a user-controlled key, often called insecure direct object reference, means the application looks up a record by an identifier from the request without checking that the caller owns it.
Changing a number in the request is enough to read or modify other users' records, which on commerce and membership sites means customer data. For WooCommerce Square the fix is 3.8.2: builds <= 3.8.1 are affected, anything from 3.8.2 onward is not.
Remediation
Update to version 3.8.2, or a newer patched version
How does WordSec protect against this?
Because it turns on account access, WordSec's login security is the relevant layer: role-based two-factor, captcha and brute-force limits raise the cost of getting the account this needs. None of that substitutes for the fix: WooCommerce Square 3.8.2 closes this, and updating the plugin is the step that ends it.
- Login Security
- Alerts
External References
Related records
Same weakness class
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C