WordPress PHP Code Execution and Cross-Site Scripting
Secunia Advisory: SA29965
Release Date: 2008-04-28
Last Update: 2008-05-08
Popularity: 6,081 views

Critical:
Highly critical
Impact: Security Bypass
Cross Site Scripting
System access
Where: From remote
Solution Status: Vendor Patch

Software:WordPress 2.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2008-1930
CVE-2008-2068


Description:
Two vulnerabilities have been reported in WordPress, which can be exploited by malicious people to conduct cross-site scripting attacks, bypass certain security restrictions, and to compromise a vulnerable system.

1) A vulnerability is caused due to improper access restriction of the administration section. This can be exploited to bypass the authentication mechanism and gain administrative access by setting a specially crafted cookie. This can further be exploited to execute arbitrary PHP code.

Successful exploitation of this vulnerability requires that registering new accounts is enabled.

The vulnerability is reported in version 2.5.

2) Input passed to an unspecified parameter 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.

The vulnerability is reported in version 2.5. Prior versions may also be affected.

Solution:
Update to version 2.5.1.

Provided and/or discovered by:
1) Steven J. Murdoch
2) The vendor credits Alex Concha.

Changelog:
2008-05-08: Added CVE reference.

Original Advisory:
WordPress:
http://wordpress.org/development/2008/04/wordpress-251/

Steven J. Murdoch:
http://www.cl.cam.ac.uk/~sjm217/advisories/wordpress-cookie-integrity.txt


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. XASTIR Insecure Temporary Files // 32 views
2. Microsoft Office Two Code Execution Vulnerabilities // 25 views
3. Microsoft Word Malformed Object Pointer Vulnerability // 18 views
4. Comdev eCommerce File Inclusion Vulnerability // 17 views
5. Drupal Content Construction Kit Script Insertion Vulnerabilities // 17 views
6. VLC Media Player Multiple Vulnerabilities // 15 views
7. 3Com Wireless 8760 Access Point HTTP Request Processing Denial of Service // 15 views
8. Sun Java JDK / JRE Multiple Vulnerabilities // 14 views
9. Apple QuickTime Multiple Vulnerabilities // 14 views
10. rPath update for libtiff // 14 views