WordPress get_file_description() cross-site scripting
| wordpress-getfiledescription-xss (31133) |
Description:
WordPress is vulnerable to cross-site scripting, caused by improper validation of user-supplied input by the get_file_description() function. A remote attacker could exploit this vulnerability using unspecified parameters in a specially-crafted URL request to the templates.php script to execute script in a victim's Web browser within the security context of the hosting Web site, once the URL is clicked. An attacker could use this vulnerability to steal the victim's cookie-based authentication credentials.
Platforms Affected:
- Gentoo, Linux
- WordPress, WordPress 2.0.5
Remedy:
Apply the patch for this vulnerability, as listed in WordPress Changeset 4665. See References.
For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 200701-10 for patch, upgrade, or suggested workaround information. See References.
Consequences:
Gain Access
References:
- Operation n Web site, WordPress Persistent XSS at http://michaeldaw.org/md-hacks/wordpress-persistent-xss/.
- WordPress Changeset 4665, WordPress at http://trac.wordpress.org/changeset/4665.
- BID-21782: Wordpress Template.PHP HTML Injection Vulnerability
- CVE-2006-6808: Cross-site scripting (XSS) vulnerability in wp-admin/templates.php in WordPress 2.0.5 allows remote attackers to inject arbitrary web script or HTML via the file parameter. NOTE: some sources have reported this as a vulnerability in the get_file_description function in wp-admin/admin-functions.php.
- GLSA-200701-10: WordPress: Multiple vulnerabilities
- SA23587: WordPress "file" Script Insertion Vulnerability
- VUPEN/ADV-2006-5191: WordPress get_file_description() Function Client-Side Cross Site Scripting Vulnerability
Reported:
Dec 26, 2006
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
