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