Secunia Logo
 
WordPress "file" Script Insertion Vulnerability
Secunia Advisory: SA23587
Release Date: 2007-01-02
Popularity: 18,264 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. Sun Java JDK / JRE Multiple Vulnerabilities // 43 views
2. Adobe Flash Player Multiple Security Issues and Vulnerabilities // 40 views
3. Apple QuickTime Multiple Vulnerabilities // 32 views
4. Microsoft XML Core Services Multiple Vulnerabilities // 29 views
5. phpBB "url" bbcode Script Insertion Vulnerability // 25 views
6. BitDefender Antivirus PDF Processing Memory Corruption Vulnerability // 24 views
7. phpBB BBcode "url" Script Insertion Vulnerability // 23 views
8. Apple iPhone / iPod touch Multiple Vulnerabilities // 22 views
9. phpBB Avatar Script Insertion Vulnerability // 22 views
10. Microsoft Word Smart Tag Invalid Length Processing Vulnerability // 21 views