Secunia Logo
Netsikker nu! 2008
 
WordPress PHP Code Execution and Cross-Site Scripting
Secunia Advisory: SA29965
Release Date: 2008-04-28
Last Update: 2008-05-08
Popularity: 6,383 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

Today
New advisories: 19
New vulnerabilities: 68
Updated advisories: 62

Moderately // 48 views
Debian update for PHP
Moderately // 76 views
Atarone CMS Multiple Vulnerabilities
Moderately // 124 views
Debian update for squid
Less // 129 views
SUSE update for mercurial
Moderately // 153 views
SUSE update for openssh
Less // 127 views
Fedora update for mediawiki

Solutions | More...  


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. H-Sphere webshell4 Cross-Site Scripting and Request Forgery // 103 views
2. MetaGauge Directory Traversal Vulnerability // 87 views
3. Debian update for squid // 71 views
4. CMME Information Disclosure Security Issues // 68 views
5. Atarone CMS Multiple Vulnerabilities // 68 views
6. SUSE update for openssh // 64 views
7. Juniper Products Neighbor Discovery Protocol Neighbor Solicitation Vulnerability // 63 views
8. HP-UX NFS/ONCplus Denial of Service Vulnerability // 56 views
9. SUSE update for mercurial // 55 views
10. IBM Lotus Quickr Security Issues and Denial of Service // 42 views