Mandrake: 'MySQL' & 'php' vulnerabilities
Posted by Team   
Mandrake Anyone with a MySQL account potentially can get the crypted password from the mysql.user table.

Hash: SHA1


                Linux-Mandrake Security Update Advisory

Package name:           MySQL and php
Date:                   January 22nd, 2001
Advisory ID:            MDKSA-2001:014

Affected versions:      7.2

Problem Description:

 A security problem exists in all versions of MySQL after 3.23.2 and
 prior to 3.23.31.  The problem is that the SHOW GRANTS command could
 be executed by any user making it possible for anyone with a MySQL
 account to get the crypted password from the mysql.user table.  The new
 3.23.31 version fixes this.

 Due to library changes, the previously announced PHP update
 (MDKSA-2001:013) has been updated as well so that the php-mysql module
 supports this new version of MySQL.  It also corrects the upgrade
 scripts in the package, however you will still need to verify that PHP
 support is enabled in your /etc/httpd/conf/httpd.conf Apache 
 configuration file and verify that the installed modules are 
 uncommented in your /etc/php.ini file.

Please verify the update prior to upgrading to ensure the integrity of
the downloaded package.  You can do this with the command:
  rpm --checksig package.rpm
You can get the GPG public key of the Linux-Mandrake Security Team at
If you use MandrakeUpdate, the verification of md5 checksum and GPG
signature is performed automatically for you.

Linux-Mandrake 7.2:
06ccef6a0a68e631847b10d1d30a79f9  7.2/RPMS/MySQL-3.23.31-1.1mdk.i586.rpm
c17be32deca79950d9a61a78442dfe8e  7.2/RPMS/MySQL-bench-3.23.31-1.1mdk.i586.rpm
748534a09c309bdc02689497f0f0e178  7.2/RPMS/MySQL-client-3.23.31-1.1mdk.i586.rpm
856f12fe37b031db9e1fa267fe5fc5fa  7.2/RPMS/MySQL-devel-3.23.31-1.1mdk.i586.rpm
3aef6e7d31fc0d2fc6d561b32a46ba94  7.2/RPMS/MySQL-shared-3.23.31-1.1mdk.i586.rpm
3ae3695872918ca460de8a54946b0c08  7.2/SRPMS/MySQL-3.23.31-1.1mdk.src.rpm

fe069a4995c82e7f1548f2a6a2d806f6  7.2/RPMS/mod_php-4.0.4pl1-1.2mdk.i586.rpm
416ad3191b034c53a18ec38ec100d831  7.2/RPMS/php-4.0.4pl1-1.2mdk.i586.rpm
1491a462a960192dbcb41f873aab5e6d  7.2/RPMS/php-devel-4.0.4pl1-1.2mdk.i586.rpm
25e3ba4887b2bf90580df6402d07306b  7.2/RPMS/php-gd-4.0.4pl1-1.2mdk.i586.rpm
f9e2732a884495a4cd8d9f812db0146e  7.2/RPMS/php-imap-4.0.4pl1-1.2mdk.i586.rpm
22fa6e8b8ab089fd2f1ff4f782df7d63  7.2/RPMS/php-ldap-4.0.4pl1-1.2mdk.i586.rpm
27fef2a3d3cbcb6053e6c8f5e1680faa  7.2/RPMS/php-manual-4.0.4pl1-1.2mdk.i586.rpm
854e5f9b837b998dad8f523a0fffa6f0  7.2/RPMS/php-mysql-4.0.4pl1-1.2mdk.i586.rpm
f25f06f33133c126c592929a5b54f796  7.2/RPMS/php-pgsql-4.0.4pl1-1.2mdk.i586.rpm
61dbb4df3f9993cb742aaa59306e9cd1  7.2/RPMS/php-readline-4.0.4pl1-1.2mdk.i586.rpm
70ac8cd0cf8808ce8cbd9546d3a0dac9  7.2/SRPMS/php-4.0.4pl1-1.2mdk.src.rpm

To upgrade automatically, use MandrakeUpdate.  

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

You can download the updates directly from one of the mirror sites
listed at:  

Updated packages are available in the "updates/[ver]/RPMS/" directory.  
For example, if you are looking for an updated RPM package for
Linux-Mandrake 7.2, look for it in "updates/7.2/RPMS/".  Updated source
RPMs are available as well, but you generally do not need to download

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

You can view other security advisories for Linux-Mandrake at:

If you want to report vulnerabilities, please contact