CVE-2021-25018

PPOM for WooCommerce <= 23.9 - Missing Authorization to Stored Cross-Site Scripting

2022-01-17 00:00
Krzysztof Zając

Strategic Overview

Status
Patched in 24.0
Affected Version
<= 23.9
CVSS
5.4Medium
Weakness type
CWE-862 · Missing Authorization
CVE
CVE-2021-25018
View all PPOM – Product Addons & Custom Fields for WooCommerce vulnerabilities

At a glance

CVE-2021-25018 is a medium-severity Missing Authorization vulnerability in the PPOM WordPress plugin, affecting versions <= 23.9. It carries a CVSS score of 5.4 (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 24.0; sites on affected versions should update now. Disclosed January 2022, reported by Krzysztof Zając.

Vulnerability Overview

The PPOM for WooCommerce WordPress plugin before 24.0 does not have authorisation and CSRF checks in the ppom_settings_panel_action AJAX action, allowing any authenticated to call it and set arbitrary settings. Furthermore, due to the lack of sanitisation and escaping, it could lead to Stored XSS issues

Technical Analysis

The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed.

CWE-862: Missing Authorization

Reaching this weakness in PPOM <= 23.9 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 PPOM the fix is 24.0: builds <= 23.9 are affected, anything from 24.0 onward is not.

Remediation

Update to version 24.0, 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: PPOM 24.0 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