Description
The Vayu Blocks – Gutenberg Blocks for WordPress & WooCommerce plugin for WordPress is vulnerable to unauthorized access and modification of data due to missing capability checks on the 'vayu_blocks_get_toggle_switch_values_callback' and 'vayu_blocks_save_toggle_switch_callback' function in versions 1.0.4 to 1.2.1. This makes it possible for unauthenticated attackers to read plugin options and update any option with a key name ending in '_value'.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
themehunk Vayu Blocks – Gutenberg Blocks for WordPress & WooCommerce
Default version status: unaffected
1.0.4 to ≤ 1.2.1affected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/27ca93a1-3dfc-4bbd-834a-1c04d9e22ebf?source=cve ↗
- https://plugins.trac.wordpress.org/browser/vayu-blocks/trunk/inc/function.php#L126 ↗
- https://plugins.trac.wordpress.org/browser/vayu-blocks/trunk/inc/function.php#L133 ↗
- https://plugins.trac.wordpress.org/browser/vayu-blocks/trunk/inc/function.php#L139 ↗
- https://plugins.trac.wordpress.org/browser/vayu-blocks/trunk/inc/function.php#L182 ↗
- https://plugins.trac.wordpress.org/changeset/3263702/ ↗