Secunia Logo  
 
WordPress PHP Code Injection Vulnerability
Secunia Advisory: SA20271
Release Date: 2006-05-26
Last Update: 2006-06-07
Popularity: 13,552 views

Critical:
Moderately critical
Impact: System access
Where: From remote
Solution Status: Vendor Patch

Software:WordPress 2.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-2667
CVE-2006-2702


Description:
rgod has discovered a vulnerability in WordPress, which can be exploited by malicious users to compromise a vulnerable system.

Input passed to various fields when registering or updating the user profile isn't properly sanitised before being stored in PHP scripts in the wp-content/cache/userlogins/ and wp-content/cache/users/ directories inside the web root. This can be exploited to inject and execute arbitrary PHP code via the newline character.

It is also possible to supply a spoofed IP address when registering by setting the "PC_REMOTE_ADDR" HTTP header.

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

Solution:
Update to version 2.0.3.
http://wordpress.org/download/

Provided and/or discovered by:
rgod

Changelog:
2006-06-02: Updated "Solution" section.
2006-06-07: Added CVE references.

Original Advisory:
http://retrogod.altervista.org/wordpress_202_xpl.html


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 Security Issues and Vulnerabilities // 45 views
2. Interstage HTTP Server mod_proxy_ftp Cross-Site Scripting // 40 views
3. OpenBSD update for OpenSSL // 36 views
4. MODx "searchid" SQL Injection Vulnerability // 34 views
5. Openfire Multiple Vulnerabilities // 33 views
6. Sun Java JDK / JRE Multiple Vulnerabilities // 32 views
7. Pizzis CMS "idvar" SQL Injection Vulnerability // 31 views
8. XOOPS "mydirname" PHP Code Injection Vulnerability // 27 views
9. Asterisk User Account Enumeration Weakness // 25 views
10. Sun Solaris Samba "smbd" Information Disclosure Vulnerability // 22 views