CVE-2022-36284

Affiliate For WooCommerce premium <= 4.7.0 - Authenticated Insecure Direct Object Reference

2022-08-01 00:00
R3N0

Strategic Overview

Status
Patched in 4.8.0
Affected Version
<= 4.7.0
CVSS
7.5High
Weakness type
CWE-639 · Authorization Bypass Through User-Controlled Key
CVE
CVE-2022-36284
View all Affiliate For WooCommerce vulnerabilities

At a glance

CVE-2022-36284 is a high-severity Authorization Bypass Through User-Controlled Key vulnerability in the Affiliate For WooCommerce WordPress plugin, affecting versions <= 4.7.0. It carries a CVSS score of 7.5 (reachable over the network; low attack complexity; high confidentiality impact). Exploitation requires no authentication. The issue is fixed in version 4.8.0; sites on affected versions should update now. Disclosed August 2022, reported by R3N0.

Vulnerability Overview

This plugin Affiliate For WooCommerce premium for WordPress is vulnerable to Insecure Direct Object Reference in versions up to, and including, 4.7.0. This makes it possible for attackers to change the PayPal email address that receives payments.

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. A successful exploit has high impact on confidentiality.

CWE-639: Authorization Bypass Through User-Controlled Key

Reaching this weakness in Affiliate For WooCommerce <= 4.7.0 takes any authenticated account. 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 Affiliate For WooCommerce the fix is 4.8.0: builds <= 4.7.0 are affected, anything from 4.8.0 onward is not.

Remediation

Update to version 4.8.0, 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: Affiliate For WooCommerce 4.8.0 closes this, and updating the plugin is the step that ends it.

  • Login Security
  • Alerts

External References

Related records

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C