HTB22940: XSS in SocialGrid wordpress plugin

2011-04-19T00:00:00
ID SECURITYVULNS:DOC:26153
Type securityvulns
Reporter Securityvulns
Modified 2011-04-19T00:00:00

Description

Vulnerability ID: HTB22940 Reference: http://www.htbridge.ch/advisory/xss_in_socialgrid_wordpress_plugin.html Product: SocialGrid wordpress plugin Vendor: Michael Whalen ( http://whalesalad.com ) Vulnerable Version: 2.3 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/socialgrid/static/js/inline-admin.js.php" script to properly sanitize user-supplied input in "default_services" variable then register_qlobals is on. 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/socialgrid/static/js/inline-admin.js.php?default_services[%3C/script%3E%3Cscript%3Ealert%28%22xss%22%29;%3C/script%3E]=1 [/code]