CVE-2022-34344

Wholesale Suite <= 2.1.5 - Missing Authorization to Plugin Settings Change

2023-02-27 00:00
Dave Jong

Strategic Overview

Status
Patched in 2.1.6
Affected Version
<= 2.1.5
CVSS
4.3Medium
Weakness type
CWE-862 · Missing Authorization
CVE
CVE-2022-34344
View all Wholesale Suite – B2B, Dynamic Pricing & WooCommerce Wholesale Prices vulnerabilities

At a glance

CVE-2022-34344 is a medium-severity Missing Authorization vulnerability in the Wholesale Suite WordPress plugin, affecting versions <= 2.1.5. It carries a CVSS score of 4.3 (reachable over the network; low attack complexity). The root cause is a missing authorization check on a reachable function. The issue is fixed in version 2.1.6; sites on affected versions should update now. Disclosed February 2023, reported by Dave Jong.

Vulnerability Overview

The Wholesale Suite plugin for WordPress is vulnerable to unauthorized data modification due to a missing capability check on the edit_wholesale_role function in versions up to, and including, 2.1.5. This makes it possible for authenticated attackers with subscriber-level privileges to change the plugin's settings.

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.

CWE-862: Missing Authorization

Reaching this weakness in Wholesale Suite <= 2.1.5 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 Wholesale Suite the fix is 2.1.6: builds <= 2.1.5 are affected, anything from 2.1.6 onward is not.

Remediation

Update to version 2.1.6, 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: Wholesale Suite 2.1.6 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