Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 189075 - dev-php/PEAR-PEAR < 1.6.1 Directory traversal (CVE-2007-2519)
Summary: dev-php/PEAR-PEAR < 1.6.1 Directory traversal (CVE-2007-2519)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Security
URL: http://pear.php.net/advisory-20070507...
Whiteboard: B3? [noglsa]
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-16 06:33 UTC by Jakub Moc (RETIRED)
Modified: 2007-09-05 07:37 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 Jakub Moc (RETIRED) gentoo-dev 2007-08-16 06:33:57 UTC
<snip>
Lack of validation of the install-as attribute in package.xml version
1.0 and of the <install> tag in package.xml version 2.0 allows
attackers to install files in any location and possibly overwrite
crucial system files if the PEAR Installer is running as a
privileged user.
</snip>

A couple of notes on this: Gentoo PHP team doesn't support using pear install directly by users and ebuilds for PEAR packages that are in the tree are certainly not malicious. :) Also, the installed (malicious) code already could do the same if you run it as privileged user, as noted in CVE-2007-2519 description.

Regardless, if you want to handle this, I'll prepare an ebuild for 1.6.1, it'd have to be done sooner or later anyway. It's going to take some time due to the way we are handling PEAR installer on Gentoo.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-08-16 11:05:06 UTC
dev-php/PEAR-PEAR-1.6.1 committed, ready for stabilization if you wish. :)
Comment 2 Pierre-Yves Rofes (RETIRED) gentoo-dev 2007-08-16 21:56:49 UTC
thanks Jakub.
Arches, please test and mark stable dev-php/PEAR-PEAR-1.6.1.
Target keywords are:
"alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86"
Comment 3 Gustavo Zacarias (RETIRED) gentoo-dev 2007-08-16 22:19:05 UTC
sparc stable.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2007-08-17 06:00:26 UTC
Stable for HPPA.
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2007-08-18 19:01:30 UTC
x86 stable
Comment 6 Markus Rothe (RETIRED) gentoo-dev 2007-08-19 07:14:48 UTC
ppc64 stable
Comment 7 Tobias Scherbaum (RETIRED) gentoo-dev 2007-08-22 15:19:55 UTC
ppc stable
Comment 8 Christoph Mende (RETIRED) gentoo-dev 2007-08-23 00:07:22 UTC
amd64 stable
Comment 9 Raúl Porcel (RETIRED) gentoo-dev 2007-08-24 16:46:28 UTC
alpha/ia64 stable
Comment 10 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2007-08-24 19:34:41 UTC
I tend to vote NO.
Comment 11 Matt Drew (RETIRED) gentoo-dev 2007-09-05 00:05:34 UTC
I vote no.
Comment 12 Pierre-Yves Rofes (RETIRED) gentoo-dev 2007-09-05 07:37:17 UTC
voting no too and closing.