---

Mandrake Linux Advisory: php


______________________________________________________________________

                Mandrake Linux Security Update Advisory
______________________________________________________________________

Package name:           php
Advisory ID:            MDKSA-2002:059
Date:                   September 10th, 2002
Affected versions:      7.1, 7.2, 8.0, 8.1, Corporate Server 1.0.1
______________________________________________________________________

Problem Description:

 A fifth parameter was added to PHP's mail() function in 4.0.5 that is
 not properly sanitized when the server is running in safe mode.  This
 vulnerability would allow local users and, possibly, remote attackers
 to execute arbitrary commands using shell metacharacters.

 After upgrading to these packages, execute "service httpd restart" as
 root in order to close the hole immediately.
______________________________________________________________________

References:

  http://online.securityfocus.com/archive/1/194425
  http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2001-1246
______________________________________________________________________

Updated Packages:

 Linux-Mandrake 7.1:
 3055e41a020800113adf707f4251689c  7.1/RPMS/php-4.0.6-6.4mdk.i586.rpm
 81c82b42ab3683ea028e526e68c09a77  7.1/RPMS/php-common-4.0.6-6.4mdk.i586.rpm
 5156568d53f7008d2c427a0d60747e7a  7.1/RPMS/php-devel-4.0.6-6.4mdk.i586.rpm
 62e0f56f7c3ef778f7f84005c22ecc40  7.1/SRPMS/php-4.0.6-6.4mdk.src.rpm

 Linux-Mandrake 7.2:
 d0b9ccde6051aa974c09eef5a17c2935  7.2/RPMS/php-4.0.6-6.3mdk.i586.rpm
 9da6fdd5856ac0cadb146610ef6c481b  7.2/RPMS/php-common-4.0.6-6.3mdk.i586.rpm
 c503fa3f46363c805d7e2af8c21c3377  7.2/RPMS/php-devel-4.0.6-6.3mdk.i586.rpm
 92c82cb66813765fa67475ee0f3eb43e  7.2/SRPMS/php-4.0.6-6.3mdk.src.rpm

 Mandrake Linux 8.0:
 0b2594f125fbb1ce5b4d1b0dbb9ab427  8.0/RPMS/php-4.0.6-6.2mdk.i586.rpm
 7cfdbe01c1dee5db0738cdb5aefa63fa  8.0/RPMS/php-common-4.0.6-6.2mdk.i586.rpm
 7d5ddce2e130c423bc373572b184a2e6  8.0/RPMS/php-devel-4.0.6-6.2mdk.i586.rpm
 5fbd6c0d123636ae894ca1f7958e35e5  8.0/SRPMS/php-4.0.6-6.2mdk.src.rpm

 Mandrake Linux 8.0/ppc:
 587c82831391941196f32ffaf9fce1f8  ppc/8.0/RPMS/php-4.0.6-6.2mdk.ppc.rpm
 e11edb49c9beb75af8b74770acb67990  ppc/8.0/RPMS/php-common-4.0.6-6.2mdk.ppc.rpm
 59a3d4c2902168281e90fafbba540a43  ppc/8.0/RPMS/php-devel-4.0.6-6.2mdk.ppc.rpm
 5fbd6c0d123636ae894ca1f7958e35e5  ppc/8.0/SRPMS/php-4.0.6-6.2mdk.src.rpm

 Mandrake Linux 8.1:
 50358bb3a3702b61c57b657e9129fe07  8.1/RPMS/php-4.0.6-6.1mdk.i586.rpm
 f2a81f7b2196082fa46966d8d30efb6a  8.1/RPMS/php-common-4.0.6-6.1mdk.i586.rpm
 8d194449ba33c3dbdab0fb081e7e3ba1  8.1/RPMS/php-devel-4.0.6-6.1mdk.i586.rpm
 1d289627661024b8c4680e1c5fde2130  8.1/SRPMS/php-4.0.6-6.1mdk.src.rpm

 Mandrake Linux 8.1/ia64:
 3ce3b243edf8020986b645613bad18bf  ia64/8.1/RPMS/php-4.0.6-6.1mdk.ia64.rpm
 d172568d33280750bdee83d80062632f  ia64/8.1/RPMS/php-common-4.0.6-6.1mdk.ia64.rpm
 814e4309955532a1f0f89ca14a503b05  ia64/8.1/RPMS/php-devel-4.0.6-6.1mdk.ia64.rpm
 1d289627661024b8c4680e1c5fde2130  ia64/8.1/SRPMS/php-4.0.6-6.1mdk.src.rpm

 Corporate Server 1.0.1:
 3055e41a020800113adf707f4251689c  1.0.1/RPMS/php-4.0.6-6.4mdk.i586.rpm
 81c82b42ab3683ea028e526e68c09a77  1.0.1/RPMS/php-common-4.0.6-6.4mdk.i586.rpm
 5156568d53f7008d2c427a0d60747e7a  1.0.1/RPMS/php-devel-4.0.6-6.4mdk.i586.rpm
 62e0f56f7c3ef778f7f84005c22ecc40  1.0.1/SRPMS/php-4.0.6-6.4mdk.src.rpm
______________________________________________________________________

Bug IDs fixed (see https://qa.mandrakesoft.com for more information):

______________________________________________________________________

To upgrade automatically, use MandrakeUpdate.  The verification of md5
checksums and GPG signatures is performed automatically for you.

If you want to upgrade manually, download the updated package from one 
of our FTP server mirrors and upgrade with "rpm -Fvh *.rpm".  A list of
FTP mirrors can be obtained from:

  http://www.mandrakesecure.net/en/ftp.php

Please verify the update prior to upgrading to ensure the integrity of
the downloaded package.  You can do this with the command:

  rpm --checksig <filename>

All packages are signed by MandrakeSoft for security.  You can obtain
the GPG public key of the Mandrake Linux Security Team from:

  https://www.mandrakesecure.net/RPM-GPG-KEYS

Please be aware that sometimes it takes the mirrors a few hours to 
update.

You can view other update advisories for Mandrake Linux at:

  http://www.mandrakesecure.net/en/advisories/

MandrakeSoft has several security-related mailing list services that
anyone can subscribe to.  Information on these lists can be obtained by
visiting:

  http://www.mandrakesecure.net/en/mlist.php

If you want to report vulnerabilities, please contact

  security@linux-mandrake.com
______________________________________________________________________

Type Bits/KeyID     Date       User ID
pub  1024D/22458A98 2000-07-10 Linux Mandrake Security Team
  <security@linux-mandrake.com>

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis