Lucene search

K
wpvulndbSuprit S PandurangiWPVDB-ID:FDDC5A1C-F267-4EF4-8ACF-731DBECAC450
HistoryApr 24, 2023 - 12:00 a.m.

Product Addons & Fields for WooCommerce < 32.0.6 - Admin+ Stored Cross-Site Scripting

2023-04-2400:00:00
Suprit S Pandurangi
wpscan.com
10
wordpress
woocommerce
security

0.001 Low

EPSS

Percentile

23.7%

The plugin does not sanitize and escape some of its setting fields, which could allow high-privilege users such as admin to perform Stored Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed (for example, in multisite setup).

PoC

- Install the plugin (and WooCommerce, which it depends on to do anything useful) - Navigate to WooCommerce -> PPOM Fields - Click on the “Add new group” green button - Fill the “Meta group name”, “Control price display on product page” and “Apply for Categories” with gibberish. - Add a field by clicking the “Add field” blue button - Select “Text Input” - Insert in the “Title” text field, and save. - You should get an alert box, BUT, we’re not done yet. To make the popup appear to other administrators, click on the “Save Fields” button on the bottom right. - Any (super-)administrators visiting http://vulnerable.site/wp-admin/admin.php?page=ppom&amp;productmeta;_id=$ID_OF_THE_CREATED_PPOM_GROUP&amp;do;_meta=edit will see the alert box. This can be done by a legitimate administrator by clicking on the malicious group’s name in http://wpscan-vulnerability-test-bench.ddev.site/wp-admin/admin.php?page=ppom

CPENameOperatorVersion
woocommerce-product-addonlt32.0.6

0.001 Low

EPSS

Percentile

23.7%

Related for WPVDB-ID:FDDC5A1C-F267-4EF4-8ACF-731DBECAC450