WordPress <= v2.1.2 "demo" cross-site scripting vulnerability

Friday, 9 March 2007

Vendor: Wordpress.org
Product: Wordpress
Affected versions: 2.x
Class: Input validation error
Vulnerability: Cross-site scripting
Discovered by: Alexander Concha

Input passed to the "demo" parameter in wp-admin/admin.php (when "import" is set to "mt") is not properly sanitised before being returned to a user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

Successful exploitation requires that the target user is logged in as administrator.

The vulnerability is confirmed in version 2.1.2. Other versions may also be affected.

Solution:
No patch.
Edit the source code to ensure that input is properly sanitised.

Original advisory:
http://secunia.com/advisories/24430/



Share this content:
        
Home | News | Articles | Advisories | Submit | Alerts | Links | What is XSS | About | Contact | Some Rights Reserved.