[39403] in bugtraq

home help back first fref pref prev next nref lref last post

[ GLSA 200507-01 ] PEAR XML-RPC, phpxmlrpc: PHP script injection

daemon@ATHENA.MIT.EDU (Thierry Carrez)
Mon Jul 4 17:22:14 2005

Message-ID: <42C81540.2010009@gentoo.org>
Date: Sun, 03 Jul 2005 18:41:36 +0200
From: Thierry Carrez <koon@gentoo.org>
MIME-Version: 1.0
To: gentoo-announce@lists.gentoo.org
Cc: bugtraq@securityfocus.com, full-disclosure@lists.grok.org.uk,
        security-alerts@linuxsecurity.com
Content-Type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature";
 boundary="------------enig4C96B77FA973B2B68553935F"

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig4C96B77FA973B2B68553935F
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200507-01
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: High
     Title: PEAR XML-RPC, phpxmlrpc: PHP script injection vulnerability
      Date: July 03, 2005
      Bugs: #97399, #97629
        ID: 200507-01

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

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

Background
==========

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

Affected packages
=================

    -------------------------------------------------------------------
     Package               /  Vulnerable  /                 Unaffected
    -------------------------------------------------------------------
  1  dev-php/PEAR-XML_RPC       < 1.3.1                       >= 1.3.1
  2  dev-php/phpxmlrpc          < 1.1.1                       >= 1.1.1
    -------------------------------------------------------------------
     2 affected packages on all of their supported architectures.
    -------------------------------------------------------------------

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
==========

  [ 1 ] CAN-2005-1921
        http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-1921
  [ 2 ] GulfTech Advisory
        http://www.gulftech.org/?node=research&article_id=00088-07022005

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200507-01.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2005 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.0


--------------enig4C96B77FA973B2B68553935F
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCyBVEvcL1obalX08RAuOwAJ94438MLgY92/BLqMhZEsMkLjMzpQCeJoYm
sPcXyVvTNhYAMtgUSRH1h8Q=
=jD1R
-----END PGP SIGNATURE-----

--------------enig4C96B77FA973B2B68553935F--

home help back first fref pref prev next nref lref last post