WordPress "style" Cross-Site Scripting
Secunia Advisory: SA26296
Release Date: 2007-08-01
Last Update: 2007-08-15
Popularity: 8,285 views

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

Software:WordPress 2.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-4139


Description:
Benjamin Flesch has discovered a vulnerability in WordPress, which can be exploited by malicious people to conduct cross-site scripting attacks.

Input passed to the "style" parameter in wp-admin/upload.php (when "post_id" is set to a negative integer value) is not properly sanitised before being 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.

Successful exploitation requires that the target user has valid author or higher credentials.

The vulnerability is confirmed in version 2.2.1. Prior versions may also be affected.

Solution:
Update to version 2.2.2.

Provided and/or discovered by:
Benjamin Flesch

Changelog:
2007-08-09: Added CVE reference.
2007-08-15: Updated "Solution" section.

Original Advisory:
http://trac.wordpress.org/ticket/4689


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. Adobe Flash Player Multiple Vulnerabilities // 58 views
2. VLC Media Player Multiple Vulnerabilities // 44 views
3. IBM DB2 Multiple Vulnerabilities // 42 views
4. Linux Kernel "listxattr" Memory Corruption and CHRP Denial of Service // 38 views
5. Sun Java JDK / JRE Multiple Vulnerabilities // 37 views
6. Microsoft Office Two Code Execution Vulnerabilities // 36 views
7. NetBSD Malformed ICMPv6 "MLD-QUERY" Denial of Service // 28 views
8. libpng "png_push_read_zTXt()" Off-By-One Vulnerability // 25 views
9. MemHT Portal "stats_res" SQL Injection Vulnerability // 25 views
10. Microsoft Word Malformed Object Pointer Vulnerability // 24 views