blob: 77addfb1241e8cfde9d9625e3078ce8e28d20d6e [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200804-19">
<title>PHP Toolkit: Data disclosure and Denial of Service</title>
PHP Toolkit does not quote parameters, allowing for PHP source code
disclosure on Apache, and a Denial of Service.
<product type="ebuild">php-toolkit</product>
<announced>April 17, 2008</announced>
<revised>April 17, 2008: 01</revised>
<package name="app-admin/php-toolkit" auto="yes" arch="*">
<unaffected range="ge">1.0.1</unaffected>
<vulnerable range="lt">1.0.1</vulnerable>
PHP Toolkit is a utility to manage parallel installations of PHP within
Gentoo. It is executed by the PHP ebuilds at setup.
Toni Arnold, David Sveningsson, Michal Bartoszkiewicz, and Joseph
reported that php-select does not quote parameters passed to the "tr"
command, which could convert the "-D PHP5" argument in the
"APACHE2_OPTS" setting in the file /etc/conf.d/apache2 to lower case.
<impact type="normal">
An attacker could entice a system administrator to run "<i>emerge
php</i>" or call "<i>php-select -t apache2 php5</i>" directly in a
directory containing a lower case single-character named file, which
would prevent Apache from loading mod_php and thereby disclose PHP
source code and cause a Denial of Service.
Do not run "emerge" or "php-select" from a working directory which
contains a lower case single-character named file.
All PHP Toolkit users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=app-admin/php-toolkit-1.0.1&quot;</code>
<uri link="">CVE-2008-1734</uri>
<metadata tag="requester" timestamp="Mon, 07 Apr 2008 23:54:47 +0000">
<metadata tag="bugReady" timestamp="Thu, 10 Apr 2008 13:22:11 +0000">
<metadata tag="submitter" timestamp="Fri, 11 Apr 2008 19:26:49 +0000">