SkipNavigation
US-CERT
American Flag
  Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information


 
 View Notes By
  Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric



 Other Documents
  Technical Alerts

Technical Bulletins

Alerts

Security Tips

 

Vulnerability Note VU#442845

Multiple PHP XML-RPC implementations vulnerable to code injection

Overview

A vulnerability in a common PHP extension module could allow a remote attacker to execute code on a vulnerable system.

I. Description

XML-RPC is a specification and a set of implementations that allow software running on disparate operating systems and in different environments to make procedure calls over the Internet. XML-RPC uses HTTP for the transport protocol and XML for the data encoding. Several independent implementations of XML-RPC exist for PHP applications.

A common flaw in the way that several XML-RPC PHP implementations pass unsanitized user input to eval() within the XML-RPC server results in a vulnerability that could allow a remote attacker to execute code on a vulnerable system. An attacker with the ability to upload a crafted XML file could insert PHP code that would then be executed by the web application using the vulnerable XML-RPC code.

II. Impact

Remote attackers may be able to execute PHP code of their choosing on a vulnerable system. The code would be executed in the context of the server program that runs the corresponding web application. Secondary impacts of a compromised web service account include, but are not limited to, malicious modification of web site data, information disclosure, and access that may be leveraged to gain additional system privileges.

III. Solution

Upgrade or apply a patch


Various vendors have published patches and updated versions of their software to address this issue. Please see the Systems Affected section of this document for information on a specific product or vendor.

Note that because the vulnerability exists in a common extension module, any application that uses the flawed code, including custom applications, may expose the vulnerability. Developers that bundle their own versions of the XML-RPC library with their application should exercise extra care to evaluate their own potential use of the vulnerable code.

Systems Affected

VendorStatusDate NotifiedDate Updated
DrupalVulnerable6-Jul-2005
Gentoo LinuxVulnerable8-Jul-2005
Mandriva, Inc.Vulnerable6-Jul-2005
PEAR XML-RPCVulnerable6-Jul-2005
phpMyFAQVulnerable6-Jul-2005
PHPXMLRPCVulnerable6-Jul-2005
PostNukeVulnerable6-Jul-2005
Red Hat, Inc.Vulnerable22-Dec-2005
SerendipityVulnerable8-Jul-2005
Trustix Secure LinuxVulnerable6-Jul-2005
Ubuntu LinuxVulnerable8-Jul-2005
WordPressVulnerable6-Jul-2005
XOOPSVulnerable6-Jul-2005

References


http://www.hardened-php.net/advisory-022005.php
http://secunia.com/advisories/15861/
http://secunia.com/advisories/15862/
http://secunia.com/advisories/15895/
http://secunia.com/advisories/15884/
http://secunia.com/advisories/15883/
http://news.postnuke.com/modules.php?op=modload&name=News&file=article&sid=2699
http://secunia.com/advisories/15852/
http://secunia.com/advisories/15855/
http://secunia.com/advisories/15810/
http://secunia.com/advisories/15872/
http://secunia.com/advisories/15922/
http://securitytracker.com/alerts/2005/Jun/1014327.html
http://www.gulftech.org/?node=research&article_id=00088-07022005
http://www.gulftech.org/?node=research&article_id=00087-07012005
http://www.securityfocus.com/bid/14088

Credit

James Bercegay of the GulfTech Security Research Team reported this issue.

This document was written by Chad R Dougherty.

Other Information

Date Public:2005-06-29
Date First Published:2005-07-06
Date Last Updated:2007-03-09
CERT Advisory: 
CVE-ID(s):CVE-2005-1921
NVD-ID(s):CVE-2005-1921
US-CERT Technical Alerts: 
Metric:20.75
Document Revision:63

If you have feedback, comments, or additional information about this vulnerability, please send us email.
 

 
Page Corner Image
Produced 2005 by US-CERT, a government organization
Disclaimers and copyright information
Get Adobe Reader Get Adobe Reader