Secunia Logo  
 
WordPress "file" Script Insertion Vulnerability
Secunia Advisory: SA23587
Release Date: 2007-01-02
Popularity: 18,728 views

Critical:
Less critical
Impact: Cross Site Scripting
Where: From remote
Solution Status: Vendor Workaround

Software:WordPress 2.x

Subscribe: Instant alerts on relevant vulnerabilities


Description:
David Kierznowski has discovered a vulnerability in WordPress, which can be exploited by malicious people to conduct script insertion attacks.

Input passed to the "file" parameter in wp-admin/templates.php is not properly sanitised before being stored. This can be exploited to insert arbitrary HTML and script code, which will be executed in an administrative user's browser session in context of an affected site when the templates.php script is accessed.

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

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

Solution:
Apply the vendor's official fix:
http://trac.wordpress.org/changeset/4665

Provided and/or discovered by:
David Kierznowski

Original Advisory:
http://michaeldaw.org/md-hacks/wordpress-persistent-xss


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Drupal Project Module File Upload and Cross-Site Scripting // 33 views
2. Mambo "GLOBALS['mosConfig_absolute_path']" File Inclusion // 27 views
3. SmbFTPD Long Command Processing Vulnerability // 26 views
4. Cisco Global Site Selector DNS Request Denial of Service // 25 views
5. ArticleBeach Script "page" File Inclusion Vulnerability // 25 views
6. FreeBSD update for openssl // 23 views
7. tnftpd Long Command Processing Vulnerability // 22 views
8. FreeBSD update for lukemftpd // 22 views
9. NTP OpenSSL "EVP_VerifyFinal()" Spoofing Vulnerability // 21 views
10. Lasso OpenSSL "DSA_verify()" Spoofing Vulnerability // 21 views