Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97399 - dev-php/PEAR-XML_RPC vulnerability (CAN-2005-1921)
Summary: dev-php/PEAR-XML_RPC vulnerability (CAN-2005-1921)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Other
: High major (vote)
Assignee: Gentoo Security
URL: http://secunia.com/advisories/15852/
Whiteboard: B1 [glsa]
Keywords:
: 97412 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-06-29 09:12 UTC by Sune Kloppenborg Jeppesen (RETIRED)
Modified: 2005-07-03 09:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2005-06-29 09:12:03 UTC
A vulnerability has been reported in XML-RPC for PHP, which can be exploited by malicious people to compromise a vulnerable system.
 
 The vulnerability is caused due to an unspecified error, which can be exploited to execute arbitrary PHP code via an application using the vulnerable library.
Comment 1 Stuart Herbert (RETIRED) gentoo-dev 2005-06-29 09:16:33 UTC
The postNuke advisory has a little more information in it:

http://news.postnuke.com/modules.php?op=modload&name=News&file=article&sid=2699

This doesn't look like a bug in PHP - but a bug in code written in PHP.  As 
the code is bundled with the app, we'll have to audit all the apps in the tree 
to find out which ones are affected.

Best regards,
Stu
Comment 2 Brian Moon 2005-06-29 09:47:59 UTC
phpwebsite has some XML RPC from PEAR.  Not sure if that is the same as ths SF
package or not.
Comment 3 Brian Moon 2005-06-29 09:57:34 UTC
obviously: dev-php/phpxmlrpc
Comment 4 Brian Moon 2005-06-29 10:18:27 UTC
www-apps/phpgroupware uses xmlrpc of some kind.
Comment 5 Brian Moon 2005-06-29 10:19:53 UTC
www-apps/phpwiki uses xmlrpc of some kind.
Comment 6 Brian Moon 2005-06-29 10:31:26 UTC
I have made a quick run through the packages from `emerge search php`.  I have
reported anything suspicious here.

I could not look at phpcollab as tar would not open the tar file.
Comment 7 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2005-06-29 12:28:20 UTC
*** Bug 97412 has been marked as a duplicate of this bug. ***
Comment 8 Thierry Carrez (RETIRED) gentoo-dev 2005-06-29 13:46:41 UTC
Adding web-apps to Cc
Comment 9 Sebastian Bergmann (RETIRED) gentoo-dev 2005-06-30 00:15:35 UTC
dev-php/PEAR-XML_RPC-1.3.1 (which has the needed security fix) is in the tree now.
Comment 10 Thierry Carrez (RETIRED) gentoo-dev 2005-06-30 01:37:27 UTC
This bug is for the libraries, any application making use of them is affected.

dev-php/PEAR-XML_RPC-1.3.1 is in the tree (thx to Sebastian)

We still need a new dev-php/phpxmlrpc that would include the patch :
http://cvs.sourceforge.net/viewcvs.py/phpxmlrpc/xmlrpc/xmlrpc.inc?r1=1.48&r2=1.49

(note, maybe the patch from the other lib is better ?)
Comment 11 Sebastian Bergmann (RETIRED) gentoo-dev 2005-07-01 03:57:48 UTC
dev-php/php-4.4.0_rc2, dev-php/mod_php-4.4.0_rc2, and dev-php/php-cgi-4.4.0_rc2
are in the tree now and ship with PEAR's XML_RPC-1.3.1 (which has the needed
security fix).
Comment 12 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2005-07-01 04:09:34 UTC
Sebastian are these ready for arch testing? 
Comment 13 Sebastian Bergmann (RETIRED) gentoo-dev 2005-07-01 06:47:21 UTC
PHP 4.4.0 will be a bugfix-only release, which is why I added the RCs directly
to ~ARCH instead of package.masking them.
Comment 14 Thierry Carrez (RETIRED) gentoo-dev 2005-07-01 09:13:44 UTC
Arches: please test and mark stable:

dev-php/php-4.4.0_rc2
Current KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
Target KEYWORDS="alpha amd64 hppa ia64 mips ppc ppc64 s390 sparc x86"

dev-php/mod_php-4.4.0_rc2
Current KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
Target KEYWORDS="alpha amd64 hppa ia64 mips ppc ppc64 s390 sparc x86"

dev-php/php-cgi-4.4.0_rc2
Current KEYWORDS="~x86 ~sparc ~alpha ~hppa ~ppc ~ia64 ~amd64 ~mips"
Target KEYWORDS="x86 sparc alpha hppa ppc ia64 amd64 ~mips"

dev-php/PEAR-XML_RPC-1.3.1
Current KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc x86"
Target KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 s390 sparc x86"



Creating a separate bug for phpxmlrpc.

Comment 15 Sebastian Bergmann (RETIRED) gentoo-dev 2005-07-01 10:04:36 UTC
It is one thing to add a Release Candidate into ~ARCH, which I did, but another
to put it into ARCH.

While it is very likely that PHP 4.4.0 RC2 will be released without (major)
changes in the next 1-2 weeks, I am not sure if we should really mark it stable.
It would probably be better to revision-bump PHP 4.3.11 and exchange the bundled
XML_RPC version with the new version.
Comment 16 Thierry Carrez (RETIRED) gentoo-dev 2005-07-01 13:38:08 UTC
Sebastian: fair enough. I'll create another bug for PHP patched release.

Arches, that leaves us only with :

dev-php/PEAR-XML_RPC-1.3.1
Current KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc x86"
Target KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 s390 sparc x86"
Comment 17 Thierry Carrez (RETIRED) gentoo-dev 2005-07-01 13:44:43 UTC
Sebastian, please follow-up on the php ebuild on bug 97655
Comment 18 René Nussbaumer (RETIRED) gentoo-dev 2005-07-02 01:46:05 UTC
Stable marking done by Sebastian. Removing hppa from cc.
Comment 19 Renat Lumpau (RETIRED) gentoo-dev 2005-07-02 19:32:29 UTC
www-apps/xoops also vulnerable, fixed upstream. Version bumped, old versions
removed.
Comment 20 Thierry Carrez (RETIRED) gentoo-dev 2005-07-03 01:49:55 UTC
Note: no GLSA for xoops, was always ~.
Comment 21 Thierry Carrez (RETIRED) gentoo-dev 2005-07-03 09:51:01 UTC
GLSA 200507-01