Title: Reflected XSS in wordpress plugin welamazonadds v1.3 |
Author: Larry W. Cashdollar, @_larry0 |
Date: 2016-02-09 |
Download Site: https://wordpress.org/plugins/welamazonadds |
Downloads: 3803 |
Vendor Notified: 2016-02-09 |
Export: Json |
Vendor Contact: plugins@wordpress.org |
Plugin Name: welamazonadds |
Vulnerability: There is a reflected XSS vulnerability in the following php code ./welamazonadds/waa-insert.php:
108: <a href="waa-insert.php?post_id=<? echo $_GET['post_id']; ?>&tab=image" class="<? echo $_GET['tab']=='image'?'current':''; ?>"><? _e('Image Links', 'WAA'); ?></a>
111: <a href="waa-insert.php?post_id=<? echo $_GET['post_id']; ?>&tab=enhanced" class="<? echo $_GET['tab']=='enhanced'?'current':''; ?>"><? _e('Enhanced Links', 'WAA'); ?></a>
114: <a href="waa-insert.php?post_id=<? echo $_GET['post_id']; ?>&tab=sidebar" class="<? echo $_GET['tab']=='sidebar'?'current':''; ?>"><? _e('Sidebar Links', 'WAA'); ?></a>
397: <input type="hidden" name="post_id" id="post_id" value="<? echo $_GET['post_id']; ?>" />
417: jQuery.insertSetup('<? echo $_GET['tab']; ?>');
The variable post_id appears to send unsanitized data back to the users browser.
|
CVE-ID: Not Released |
File:./welamazonadds/waa-insert.php |
Exploit Code: Exploit was derived from appearance of first vulnerable parameter in code, there could be more shown above.
|