PEAR XML-RPC, phpxmlrpc: PHP script injection vulnerability — GLSA 200507-01

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

Affected Packages

dev-php/PEAR-XML_RPC on all architectures
Affected versions < 1.3.1
Unaffected versions >= 1.3.1
dev-php/phpxmlrpc on all architectures
Affected versions < 1.1.1
Unaffected versions >= 1.1.1

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.

Workaround

There are no known workarounds at this time.

Resolution

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

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

All phpxmlrpc users should upgrade to the latest available version:

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

References

Release Date
July 03, 2005

Latest Revision
July 03, 2005: 01

Severity
high

Exploitable
remote

Bugzilla entries