Lucene search

K
wpexploitAdrian MรถrchenWPEX-ID:678DAC05-D1F7-4E73-A310-DFFA8F5BB9C4
HistoryNov 08, 2018 - 12:00 a.m.

WP GDPR Compliance <= 1.4.2 - Unauthenticated Call Any Action or Update Any Option

2018-11-0800:00:00
Adrian Mรถrchen
11

0.973 High

EPSS

Percentile

99.9%

The plugin WP GDPR Compliance allows unauthenticated users to execute any action and to update any database value. If the request data form is available for unauthenticated users, even unauthenticated users are able to do this. See references for discussion of the issue. The problem is in the file Includes/Ajax.php which doesnโ€™t do any checking of the given values.

1. Install WordPress.
2. Install the plugin.
3. Enable the request form and publish the page.

Update an option:

1. Go to the page with request form
2. Check the pages source for "ajaxSecurity" and copy the value
3. Send an ajax request (as POST) to wp-admin/admin-ajax.php (must be within the same browser) with the following body:

action=wpgdprc_process_action&security=SECURITY_TOKEN_HERE&data={         "type":"save_setting","append":true,"enabled": true,"option":"injected","value" :"option"}

After that check your wp_options table for the new value.

0.973 High

EPSS

Percentile

99.9%

Related for WPEX-ID:678DAC05-D1F7-4E73-A310-DFFA8F5BB9C4