WPC Smart Messages for WooCommerce <= 4.2.1 - Authenticated (Subscriber+) Local File Inclusion

2024-10-28 20:37
theviper17y

Strategic Overview

Status
Patched in 4.2.2
Affected Version<= 4.2.1
CVSS8.8High
CVECVE-2024-10436
View all WPC Smart Messages for WooCommerce vulnerabilities

Vulnerability Overview

The WPC Smart Messages for WooCommerce plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 4.2.1 via the get_condition_value function. This makes it possible for authenticated attackers, with Subscriber-level access and above, to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included.

Technical Analysis

REMEDIATION: Update to version 4.2.2, or a newer patched version --- IDENTIFIER: CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')) The PHP application receives input from an upstream component, but it does not restrict or incorrectly restricts the input before its usage in require, include, or similar functions.

External References

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