HTB22940: XSS in SocialGrid wordpress plugin

Type securityvulns
Reporter Securityvulns
Modified 2011-04-19T00:00:00


Vulnerability ID: HTB22940 Reference: Product: SocialGrid wordpress plugin Vendor: Michael Whalen ( ) 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 ( )

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]