Description
The Widget Logic Visual plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1.52 via the widget_logic_visual_check_visibility function. This is due to missing capability check and nonce verification on the widget-logic-update-conditional-tags AJAX action combined with insufficient sanitization of the 'nwlv[cod-tag]' parameter before storage and subsequent use in an eval() call. This makes it possible for authenticated attackers, with subscriber-level access and above, to execute code on the server.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
totalbounty Widget Logic Visual
Default version status: unaffected
0 to ≤ 1.52affected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/5d82e9e2-c572-4911-a6a5-1384844214b0?source=cve ↗
- https://plugins.trac.wordpress.org/browser/widget-logic-visual/trunk/custom.php#L50 ↗
- https://plugins.trac.wordpress.org/browser/widget-logic-visual/trunk/ajax.php#L91 ↗
- https://plugins.trac.wordpress.org/browser/widget-logic-visual/trunk/ajax.php#L14 ↗