-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ________________________________________________________________________ Linux-Mandrake Security Update Advisory ________________________________________________________________________ Package name: perl Date: August 8th, 2000 Advisory ID: MDKSA-2000:031 Affected versions: 6.0, 6.1, 7.0, 7.1 ________________________________________________________________________ Problem Description: There is a vulnerability that exists when using setuidperl together with the mailx program. In some cases, setuidperl will warn root that something has going on. The setuidperl program uses /bin/mail to send the message, as root, with the environment preserved. An undocumented feature of /bin/mail consists of it interpretting the ~! sequence even if it is not running on the terminal, and the message also contains the script name, taken from argv[1]. With all of this combined, it is possible to execute a command using ~! passed in the script name to create a suid shell. The instance of setuidperl sending such a message can only be reached if you try to fool perl into forcing the execution of one file instead of another. This vulnerability may not be limited to just the mailx program, which is why an upgrade for perl is provided as opposed to an upgrade for mailx. ________________________________________________________________________ Please verify these md5 checksums of the updates prior to upgrading to ensure the integrity of the downloaded package. You can do this by running the md5sum program on the downloaded package by using "md5sum package.rpm" or by using a version of RPM greater than 3.0 with the command "rpm -K package_name". This will also check the GnuPG signature of the package provided you have the public key as part of your keyring (the public key is provided at the end of this advisory). Linux-Mandrake 6.0: 1c42a4a20c7c042f78ae846cc9bfdc81 6.0/RPMS/perl-5.00503-5mdk.i586.rpm 3c0d7424d519fc616ce6c902dbbbf760 6.0/SRPMS/perl-5.00503-5mdk.src.rpm Linux-Mandrake 6.1: cfdba31ce88d7a72f00ae2f27d4596db 6.1/RPMS/perl-5.00503-5mdk.i586.rpm 3c0d7424d519fc616ce6c902dbbbf760 6.1/SRPMS/perl-5.00503-5mdk.src.rpm Linux-Mandrake 7.0: 054c9b11a79651d742a465f8ca15a0e8 7.0/RPMS/perl-5.00503-11mdk.i586.rpm 7b699435cc912993d21f4b35f780b366 7.0/RPMS/perl-base-5.00503-11mdk.i586.rpm 86eb8dea7b0ed397cb145a9cc118843e 7.0/SRPMS/perl-5.00503-11mdk.src.rpm Linux-Mandrake 7.1: 39a43d7f8449a692e11fa384343dc939 7.1/RPMS/perl-5.600-5mdk.i586.rpm 025428ebc98430c138979f9cd3f1bdb8 7.1/RPMS/perl-base-5.600-5mdk.i586.rpm 332ef51a58f9946b5c834fd1acc681bd 7.1/SRPMS/perl-5.600-5mdk.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 uprade with "rpm -Uvh package_name". You can download the updates directly from: ftp://ftp.linux.tucows.com/pub/distributions/Mandrake/Mandrake/updates ftp://ftp.free.fr/pub/Distributions_Linux/Mandrake/updates Or try one of the other mirrors listed at: http://www.linux-mandrake.com/en/ftp.php3. 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.1, look for it in "updates/7.1/RPMS/". Updated source RPMs are available as well, but you generally do not need to download them. Please be aware that sometimes it takes the mirrors a few hours to update, so if you want an immediate upgrade, please use one of the two above-listed mirrors. You can view other security advisories for Linux-Mandrake at: http://www.linux-mandrake.com/en/fupdates.php3 If you want to report vulnerabilities, please contact security@linux-mandrake.com ________________________________________________________________________ Linux-Mandrake has two security-related mailing list services that anyone can subscribe to: security-announce@linux-mandrake.com Linux-Mandrake''s security announcements mailing list. Only announcements are sent to this list and it is read-only. security-discuss@linux-mandrake.com Linux-Mandrake''s security discussion mailing list. This list is open to anyone to discuss Linux-Mandrake security specifically and Linux security in general. To subscribe to either list, send a message to sympa@linux-mandrake.com with "subscribe [listname]" in the body of the message. To remove yourself from either list, send a message to sympa@linux-mandrake.com with "unsubscribe [listname]" in the body of the message. To get more information on either list, send a message to sympa@linux-mandrake.com with "info [listname]" in the body of the message. Optionally, you can use the web interface to subscribe to or unsubscribe from either list: http://www.linux-mandrake.com/en/flists.php3#security ________________________________________________________________________ Type Bits/KeyID Date User ID pub 1024D/22458A98 2000-07-10 Linux Mandrake Security Team <security@linux-mandrake.com> - -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.0.1 (GNU/Linux) Comment: For info see http://www.gnupg.org mQGiBDlp594R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cl 3TpkTfzYky85tu433wmKaLFOv0WjBFSikohGBBgRAgAGBQI5aefvAAoJEJqo0NAi RYqYid0AoJgeWzXrEdIClBOSW5Q6FzqJJyaqAKC0Y9YI3UFlE4zSIGjcFlLJEJGX lA==WxWn - -----END PGP PUBLIC KEY BLOCK----- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.1 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE5kFPfmqjQ0CJFipgRAiQrAJwItA5CBGC71SxEGHZXvcE4wmQ0wwCg6TfW GJusJlS4T26Khkx0VXNGV/U=CxO1 -----END PGP SIGNATURE-----