Bugtraq mailing list archives

[MajorSecurity SA-080]WordPress 3.0.1 - Cross Site Scripting Issue


From: david.kurz () majorsecurity net
Date: 13 Aug 2010 10:53:16 -0000

[MajorSecurity SA-080]WordPress 3.0.1 - Cross Site Scripting Issue

Details
=============
Product: WordPress 3.0.1
Security-Risk: low
Remote-Exploit: yes
Vendor-URL: http://www.wordpress.org/
Advisory-Status: published

Credits
=============
Discovered by: David Vieira-Kurz of MajorSecurity

Affected Products:
=============
WordPress 3.0.1
Prior versions may also be vulnerable

Description
=============
"WordPress is web software you can use to create a beautiful website or blog." - from wordpress.org

More Details
=============
I have discovered some vulnerabilities in WordPress 3.0.1, which can be exploited by malicious people to conduct 
reflected cross-site scripting attacks. Input passed directly to the "checked[0]" parameter in "wp-admin/plugins.php" 
when the "action" parameter is set to "delete-selected" is not properly sanitised before being stored and returned to 
the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an 
affected site.

Solution
=============
Web applications should never trust on user generated input and therefore sanatize all input. Edit the source code to 
ensure that input is properly sanitised.

MajorSecurity
================
MajorSecurity is a German sourcecode audit and penetration testing company which focuses on (web-)application security. 
We offer professional source code audit, penetrationstest and pci dss compliance tests. Visit us at 
http://www.majorsecurity.net/source-code-audit.php

Use of terms
================
Unaltered electronic reproduction of this advisory is permitted. For all other reproduction or publication, in printing 
or otherwise, contact us for permission. Use of the advisory constitutes acceptance for use in an "as is" condition. 
All warranties are excluded. In no event shall MajorSecurity be liable for any damages whatsoever including direct, 
indirect, incidental, consequential, loss of business profits or special damages, even if MajorSecurity has been 
advised of the possibility of such damages.


Current thread: