Secunia Logo  
 
WordPress Cross-Site Scripting Vulnerabilities
Secunia Advisory: SA19050
Release Date: 2006-03-01
Last Update: 2006-04-21
Popularity: 11,056 views

Critical:
Less critical
Impact: Cross Site Scripting
Exposure of system information
Where: From remote
Solution Status: Partial Fix

Software:Wordpress 0.x
Wordpress 1.x
WordPress 2.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-0985
CVE-2006-0986
CVE-2006-1796


Description:
Some vulnerabilities have been reported in WordPress, which can be exploited by malicious people to conduct cross-site scripting attacks.

1) Input passed to the "Name" and "Website" parameters in wp-comments-post.php isn't 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.

The vulnerability has been confirmed in version 2.0.1. Prior versions may also be affected.

2) It is also possible to disclose the full path to certain scripts by accessing them directly, disclose the content of certain directories, and by administrators to inject arbitrary HTML and script code via the "comment" parameter.

The vulnerability has been confirmed in version 2.0.1. Prior versions may also be affected.

3) Input passed to the URL in "index.php" isn't 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 user is running the Microsoft Internet Explorer browser.

The vulnerability has been reported in version 1.5.2. Other versions may also be affected.

Solution:
1, 3) Update to version 2.0.2.

2) Edit the source code to ensure that input is properly sanitised.

Provided and/or discovered by:
1, 2) K4P0
3) Noam Rathaus

Changelog:
2006-03-21: "Description" and "Solution" sections changed. Added CVE reference.
2006-04-21: Added additional vulnerability provided by Noam Rathaus. Added CVE reference.

Original Advisory:
1, 2) http://NeoSecurityTeam.net/advisories/Advisory-17.txt
3) http://trac.wordpress.org/ticket/1686


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. Joomla! "X_CMS_LIBRARY_PATH" Directory Traversal Vulnerability // 86 views
2. OpenSSL DSA / ECDSA "EVP_VerifyFinal()" Spoofing Vulnerability // 81 views
3. Symantec Mail Security for SMTP Response Handling Denial of Service // 63 views
4. SAP GUI TabOne ActiveX Control Caption List Buffer Overflow // 54 views
5. Red Hat update for openssl // 53 views
6. Red Hat update for xterm // 46 views
7. vBulletin Personal Sticky Threads Add-on Security Bypass Vulnerability // 42 views
8. ComponentOne SizerOne CTab ActiveX Control Caption List Buffer Overflow // 40 views
9. TSC2 Help Desk CTab ActiveX Control Caption List Buffer Overflow // 37 views
10. PollHelper "poll.inc" Information Disclosure Security Issue // 35 views