Bugtraq mailing list archives

HTB22940: XSS in SocialGrid wordpress plugin


From: advisory () htbridge ch
Date: Tue, 19 Apr 2011 10:22:41 +0200 (CEST)

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]



Current thread: