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.
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. |
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. |
Solution
Upgrade or apply a patch |
Systems Affected (Learn More)
| Vendor | Status | Date Notified | Date Updated |
|---|---|---|---|
| Drupal | Affected | - | 06 Jul 2005 |
| Gentoo Linux | Affected | - | 08 Jul 2005 |
| Mandriva, Inc. | Affected | - | 06 Jul 2005 |
| PEAR XML-RPC | Affected | - | 06 Jul 2005 |
| phpMyFAQ | Affected | - | 06 Jul 2005 |
| PHPXMLRPC | Affected | - | 06 Jul 2005 |
| PostNuke | Affected | - | 06 Jul 2005 |
| Red Hat, Inc. | Affected | - | 22 Dec 2005 |
| Serendipity | Affected | - | 08 Jul 2005 |
| Trustix Secure Linux | Affected | - | 06 Jul 2005 |
| Ubuntu Linux | Affected | - | 08 Jul 2005 |
| WordPress | Affected | - | 06 Jul 2005 |
| XOOPS | Affected | - | 06 Jul 2005 |
CVSS Metrics (Learn More)
| Group | Score | Vector |
|---|---|---|
| Base | N/A | N/A |
| Temporal | N/A | N/A |
| Environmental | N/A | N/A |
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
- CVE IDs: CVE-2005-1921
- Date Public: 29 Jun 2005
- Date First Published: 06 Jul 2005
- Date Last Updated: 09 Mar 2007
- Severity Metric: 20.75
- Document Revision: 63
Feedback
If you have feedback, comments, or additional information about this vulnerability, please send us email.