CVE-2024-10436
Description
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.
Affected WordPress components
-
WPC Smart Messages for WooCommerce Plugin · wpc-smart-messagesUp to and including 4.2.1View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- wpclever WPC Smart Messages for WooCommerce — Up to and including 4.2.1
- wpclever wpc_smart_messages_for_woocommerce — Up to and including 4.2.1
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/wpc-smart-messages/tags/4.2.1/includes/class-backend.php#L418
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3177426/wpc-smart-messages/trunk/includes/class-backend.php?contextall=1
- wordpress.org https://wordpress.org/plugins/wpc-smart-messages/
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/0fd87512-def0-4e59-aa2d-b166919474f3?source=cve
- nvd.nist.gov Official NVD record