Category Discount Woocommerce <= 4.11 - Cross-Site Request Forgery via wpcd_save_discount()

2024-01-24 00:00
Krzysztof Zając

Strategic Overview

Status
Patched in 4.12
Affected Version<= 4.11
CVSS5.3Medium
CVECVE-2024-0617
View all Simple Discount Rules for Woocommerce vulnerabilities

Vulnerability Overview

The Category Discount Woocommerce plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 4.12. This is due to missing or incorrect nonce validation on the wpcd_save_discount() function. This makes it possible for unauthenticated attackers to modify product category discounts via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

Technical Analysis

REMEDIATION: Update to version 4.12, or a newer patched version --- IDENTIFIER: CWE-352 (Cross-Site Request Forgery (CSRF)) The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.

External References

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