CVE-2024-1862

WooCommerce Add to Cart Custom Redirect <= 1.2.13 - Authenticated(Contributor+) Missing Authorization to Limited Arbitrary Options Update

2024-03-07 00:00
Lucio Sá

Strategic Overview

Status
Patched in 1.2.14
Affected Version
<= 1.2.13
CVSS
8.1High
Weakness type
CWE-862 · Missing Authorization
CVE
CVE-2024-1862
View all Add to Cart Custom Redirect for WooCommerce vulnerabilities

At a glance

CVE-2024-1862 is a high-severity Missing Authorization vulnerability in the Add to Cart Custom Redirect for WooCommerce WordPress plugin, affecting versions <= 1.2.13. It carries a CVSS score of 8.1 (reachable over the network; low attack complexity; high integrity, availability impact). Exploitation requires an authenticated account at Contributor level or above. The issue is fixed in version 1.2.14; sites on affected versions should update now. Disclosed March 2024, reported by Lucio Sá.

Vulnerability Overview

The WooCommerce Add to Cart Custom Redirect plugin for WordPress is vulnerable to unauthorized modification of data and loss of data due to a missing capability check on the 'wcr_dismiss_admin_notice' function in all versions up to, and including, 1.2.13. This makes it possible for authenticated attackers, with contributor access and above, to update the values of arbitrary site options to 'dismissed'.

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

CWE-862: Missing Authorization

Add to Cart Custom Redirect for WooCommerce <= 1.2.13 carries this weakness at wcr_dismiss_admin_notice, and reaching it takes an account at Contributor level or above. A missing authorization check means a function is reachable by anyone who can reach the endpoint, because the code never asks whether the caller is allowed to perform the action.

Any user who can reach the endpoint gets to run an action reserved for higher-privileged roles, from reading protected data to changing settings or content. For Add to Cart Custom Redirect for WooCommerce the fix is 1.2.14: builds <= 1.2.13 are affected, anything from 1.2.14 onward is not.

Remediation

Update to version 1.2.14, 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: Add to Cart Custom Redirect for WooCommerce 1.2.14 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