CVE-2022-3536

Role Based Pricing for WooCommerce <= 1.6.2 - Missing Authorization to PHAR Deserialization

2022-10-17 00:00
WPScanTeam

Strategic Overview

Status
Patched in 1.6.3
Affected Version
<= 1.6.2
CVSS
9.8Critical
Weakness type
CWE-862 · Missing Authorization
CVE
CVE-2022-3536
View all Role Based Pricing for WooCommerce vulnerabilities

At a glance

CVE-2022-3536 is a critical-severity Missing Authorization vulnerability in the Role Based Pricing for WooCommerce WordPress plugin, affecting versions <= 1.6.2. It carries a CVSS score of 9.8 (reachable over the network; low attack complexity; high confidentiality, integrity, availability impact). Exploitation requires no authentication. The issue is fixed in version 1.6.3; sites on affected versions should update now. Disclosed October 2022, reported by WPScanTeam.

Vulnerability Overview

The Role Based Pricing for WooCommerce plugin for WordPress is vulnerable to Authorization Bypass in versions up to, and including, 1.6.2. This makes it possible for authenticated attackers, with subscriber-level access or higher, to perform PHAR deserialization attacks provided they can upload a file and a suitable pop chain is present.

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, integrity, availability — full site compromise territory.

CWE-862: Missing Authorization

Reaching this weakness in Role Based Pricing for WooCommerce <= 1.6.2 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 Role Based Pricing for WooCommerce the fix is 1.6.3: builds <= 1.6.2 are affected, anything from 1.6.3 onward is not.

Remediation

Update to version 1.6.3, 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: Role Based Pricing for WooCommerce 1.6.3 closes this, and updating the plugin is the step that ends it.

  • Login Security
  • Alerts

External References

Related records

Other vulnerabilities in Role Based Pricing for WooCommerce

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