Gentoo Logo

PEAR XML-RPC, phpxmlrpc: PHP script injection vulnerability

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200507-01 / pear-xml_rpc phpxmlrpc
Release Date July 03, 2005
Latest Revision July 03, 2005: 01
Impact high
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-php/PEAR-XML_RPC < 1.3.1 >= 1.3.1 All supported architectures
dev-php/phpxmlrpc < 1.1.1 >= 1.1.1 All supported architectures

Related bugreports: #97399, #97629

Synopsis

The PEAR XML-RPC and phpxmlrpc libraries allow remote attackers to execute arbitrary PHP script commands.

2.  Impact Information

Background

The PEAR XML-RPC and phpxmlrpc libraries are both PHP implementations of the XML-RPC protocol.

Description

James Bercegay of GulfTech Security Research discovered that the PEAR XML-RPC and phpxmlrpc libraries fail to sanatize input sent using the "POST" method.

Impact

A remote attacker could exploit this vulnerability to execute arbitrary PHP script code by sending a specially crafted XML document to web applications making use of these libraries.

3.  Resolution Information

Workaround

There are no known workarounds at this time.

Resolution

All PEAR-XML_RPC users should upgrade to the latest available version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-php/PEAR-XML_RPC-1.3.1"

All phpxmlrpc users should upgrade to the latest available version:

Code Listing 3.2: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-php/phpxmlrpc-1.1.1"

4.  References



Print

Page updated July 03, 2005

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.