PEAR XML-RPC, phpxmlrpc: New PHP script injection vulnerability
1.
Gentoo Linux Security Advisory
Version Information
| Advisory Reference |
GLSA 200508-13 / pear-xml_rpc phpxmlrpc |
| Release Date |
August 24, 2005 |
| Latest Revision |
August 24, 2005: 01 |
| Impact |
high |
| Exploitable |
remote |
| Package |
Vulnerable versions |
Unaffected versions |
Architecture(s) |
| dev-php/PEAR-XML_RPC |
<
1.4.0 |
>=
1.4.0 |
All supported architectures
|
| dev-php/phpxmlrpc |
<
1.2-r1 |
>=
1.2-r1 |
All supported architectures
|
Related bugreports:
#102378, #102576
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
Stefan Esser of the Hardened-PHP Project discovered that the PEAR
XML-RPC and phpxmlrpc libraries were improperly handling XMLRPC
requests and responses with malformed nested tags.
Impact
A remote attacker could exploit this vulnerability to inject
arbitrary PHP script code into eval() statements 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.4.0"
|
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.2-r1"
|
4.
References
|