Secunia Logo
Netsikker nu! 2008
 
WordPress Command Execution and PHP "eval()" Injection
Secunia Advisory: SA24374
Release Date: 2007-03-05
Last Update: 2007-03-06
Popularity: 11,960 views

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

Software:WordPress 2.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-1277


Description:
Ivan Fratric has reported two vulnerabilities in WordPress, which can be exploited by malicious people to compromise vulnerable systems.

1) Input passed to the "ix" parameter in wp-includes/feed.php is not properly sanitised before being used in "eval()" calls. This can be exploited to execute arbitrary PHP code.

2) Input passed to the "iz" parameter in wp-includes/theme.php is not properly sanitised before being used to execute commands. This can be exploited to execute arbitrary shell commands.

NOTE: The vulnerabilities were reportedly added by someone breaking into WordPress's servers.

The vulnerabilities are reported in version 2.1.1 downloaded on 2007-02-25 or later.

Solution:
Update to version 2.1.2.

Provided and/or discovered by:
Ivan Fratric

Changelog:
2007-03-06: Added links to US-CERT.
2007-03-06: Added CVE reference.

Original Advisory:
Ivan Fratric:
http://ifsec.blogspot.com/2007/03/wordpress-code-compromised-to-enable.html

WordPress:
http://wordpress.org/development/2007/03/upgrade-212/

Other References:
US-CERT VU#214480:
http://www.kb.cert.org/vuls/id/214480

US-CERT VU#641456:
http://www.kb.cert.org/vuls/id/641456


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. CA ARCserve Backup Multiple Vulnerabilities // 31 views
2. CUPS Multiple Vulnerabilities // 27 views
3. pMachine "pm_path" File Inclusion Vulnerability // 27 views
4. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 25 views
5. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 24 views
6. ScriptsEz Easy Image Downloader "id" File Disclosure Vulnerability // 23 views
7. Red Hat update for cups // 22 views
8. Fedora update for condor // 22 views
9. DFF PHP Framework API "DFF_config[dir_include]" File Inclusion Vulnerabilities // 21 views
10. Built2go Real Estate Listings "event_id" SQL Injection // 20 views