CVE-2024-12266

ELEX WooCommerce Dynamic Pricing and Discounts <= 2.1.7 - Missing Authorization

Strategic Overview

Status
Patched in 2.1.8
Affected Version
<= 2.1.7
CVSS
6.5Medium
Weakness type
CWE-862 · Missing Authorization
CVE
CVE-2024-12266
View all ELEX WooCommerce Dynamic Pricing and Discounts vulnerabilities

At a glance

CVE-2024-12266 is a medium-severity Missing Authorization vulnerability in the ELEX WooCommerce Dynamic Pricing and Discounts WordPress plugin, affecting versions <= 2.1.7. It carries a CVSS score of 6.5 (reachable over the network; low attack complexity). Exploitation requires no authentication. The issue is fixed in version 2.1.8; sites on affected versions should update now. Disclosed December 2024, reported by Fariq Fadillah Gusti Insani (fariqfgi).

Vulnerability Overview

The ELEX WooCommerce Dynamic Pricing and Discounts plugin for WordPress is vulnerable to unauthorized access of data due to a missing capability check on the elex_dp_export_rules() and elex_dp_import_rules() functions in all versions up to, and including, 2.1.7. This makes it possible for unauthenticated attackers to import and export product rules along with obtaining phpinfo() data

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-862: Missing Authorization

ELEX WooCommerce Dynamic Pricing and Discounts <= 2.1.7 carries this weakness at elex_dp_export_rules(), and reaching it takes a caller who can reach the endpoint. 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 ELEX WooCommerce Dynamic Pricing and Discounts the fix is 2.1.8: builds <= 2.1.7 are affected, anything from 2.1.8 onward is not.

Remediation

Update to version 2.1.8, 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: ELEX WooCommerce Dynamic Pricing and Discounts 2.1.8 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