WordPress security changelog
HIGH CVE-2022-3536 Modified

Role Based Pricing for WooCommerce: Code execution

Role Based Pricing for WooCommerce is affected by code execution. Exposure depends on how the affected operation is made reachable by the site. Successful exploitation can run attacker-controlled code in the WordPress hosting account.

CVE / CNA score 8.8 CVSS 3.1 · 134c704f-9b21-4f2e-91b3-4a467353bcc0
NVD score 8.8 CVSS 3.1 · nvd@nist.gov
Component
Role Based Pricing for WooCommerce
Plugin slug
role-based-pricing-for-woocommerce
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Nov 07, 2022
Weakness
CWE-352 — Cross-Site Request Forgery (CSRF)
CWE-502 — Deserialization of Untrusted Data

This CVE was published Nov 07, 2022 and is one of 2 known issues for this plugin.

Update, patch or deactivate.

Update Role Based Pricing for WooCommerce to a release outside the affected range, or disable and remove it until a fixed version is available.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical description

The Role Based Pricing for WooCommerce WordPress plugin before 1.6.3 does not have authorisation and proper CSRF checks, as well as does not validate path given via user input, allowing any authenticated users like subscriber to perform PHAR deserialization attacks when they can upload a file, and a suitable gadget chain is present on the blog

CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

NVD vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Primary and upstream sources