From security@linux-mandrake.com Thu Apr 10 02:48:14 2003 From: Mandrake Linux Security Team To: full-disclosure@lists.netsys.com Date: 10 Apr 2003 05:27:36 -0000 Subject: [Full-Disclosure] MDKSA-2003:038-1 - Updated 2.4 kernel packages fix ptrace vulnerability -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ________________________________________________________________________ Mandrake Linux Security Update Advisory ________________________________________________________________________ Package name: kernel Advisory ID: MDKSA-2003:038-1 Date: April 9th, 2003 Original Advisory Date: March 27th, 2003 Affected versions: 8.2, Multi Network Firewall 8.2 ________________________________________________________________________ Problem Description: A bug in the kernel module loader code could allow a local user to gain root privileges. This is done by a local user using ptrace and attaching to a modprobe process that is spawned if the user triggers the loading of a kernel module. A temporary workaround can be used to defend against this flaw. It is possible to temporarily disable the kmod kernel module loading subsystem in the kernel after all of the required kernel modules have been loaded. Be sure that you do not need to load additional kernel modules after implementing this workaround. To use it, as root execute: echo /no/such/file >/proc/sys/kernel/modprobe To automate this, you may wish to add it as the last line of the /etc/rc.d/rc.local file. You can revert this change by replacing the content "/sbin/modprobe" in the /proc/sys/kernel/modprobe file. The root user can still manually load kernel modules with this workaround in place. This update applies a patch to correct the problem. All users should upgrade. Please note that the Mandrake Linux 9.1 kernel already has this patch, and an updated kernel for Mandrake Linux 8.2 will be available shortly. For instructions on how to upgrade your kernel in Mandrake Linux, please refer to: http://www.mandrakesecure.net/en/kernelupdate.php Update: Kernels are now available for Mandrake Linux 8.2, 8.2/PPC, and Multi- Network Firewall 8.2. As well, the previously noted instructions for temporarily working around the vulnerability are not completely accurate as they only defend against a certain type of attack making use of this problem. Users should upgrade to the update kernels, however if you are unable to upgrade you may wish to look into the self-compiled no-ptrace-module.c[1] that is loaded into a running kernel. ________________________________________________________________________ References: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0127 [1] http://www.securiteam.com/tools/5SP082K5GK.html ________________________________________________________________________ Updated Packages: Mandrake Linux 8.2: 3fec7895b79c0dfc7dd917208d7b693a 8.2/RPMS/kernel-2.4.19.33mdk-1-1mdk.i586.rpm e21014df3187220340d5bdc0131462a5 8.2/RPMS/kernel-BOOT-2.4.19.33mdk-1-1mdk.i586.rpm c63b60b445cf0f13fefd5ac749f93f4d 8.2/RPMS/kernel-enterprise-2.4.19.33mdk-1-1mdk.i586.rpm 73c237088825424cdd319130a11096aa 8.2/RPMS/kernel-secure-2.4.19.33mdk-1-1mdk.i586.rpm d102e5a774d0cea467df99f07705ddf2 8.2/RPMS/kernel-smp-2.4.19.33mdk-1-1mdk.i586.rpm 0c577d4ad312131885bc5dccf1d02b59 8.2/RPMS/kernel-source-2.4.19-33mdk.i586.rpm 7dd71eff7ce5b75204f0b69af354ea40 8.2/SRPMS/kernel-2.4.19.33mdk-1-1mdk.src.rpm Mandrake Linux 8.2/PPC: 8ac23ce91ece4c7bb60b8edbc7a30626 ppc/8.2/RPMS/kernel-2.4.19.34mdk-1-1mdk.ppc.rpm 8177bc95cd70c270b78a91645bdbe79d ppc/8.2/RPMS/kernel-enterprise-2.4.19.34mdk-1-1mdk.ppc.rpm 106ecdf8f15868509ba43277288b68de ppc/8.2/RPMS/kernel-smp-2.4.19.34mdk-1-1mdk.ppc.rpm 107730358e5caa627d23360bb0fb2a02 ppc/8.2/RPMS/kernel-source-2.4.19-34mdk.ppc.rpm 22373c1175b8092fce59e0a87d072fa8 ppc/8.2/SRPMS/kernel-2.4.19.34mdk-1-1mdk.src.rpm Multi Network Firewall 8.2: 73c237088825424cdd319130a11096aa mnf8.2/RPMS/kernel-secure-2.4.19.33mdk-1-1mdk.i586.rpm 7dd71eff7ce5b75204f0b69af354ea40 mnf8.2/SRPMS/kernel-2.4.19.33mdk-1-1mdk.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 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 - -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.0.7 (GNU/Linux) mQGiBDlp594RBAC2tDozI3ZgQsE7XwxurJCJrX0L5vx7SDByR5GHDdWekGhdiday L4nfUax+SeR9SCoCgTgPW1xB8vtQc8/sinJlMjp9197a2iKM0FOcPlkpa3HcOdt7 WKJqQhlMrHvRcsivzcgqjH44GBBJIT6sygUF8k0lU6YnMHj5MPc/NGWt8wCg9vKo P0l5QVAFSsHtqcU9W8cc7wMEAJzQsAlnvPXDBfBLEH6u7ptWFdp0GvbSuG2wRaPl hynHvRiE01ZvwbJZXsPsKm1z7uVoW+NknKLunWKB5axrNXDHxCYJBzY3jTeFjsqx PFZkIEAQphLTkeXXelAjQ5u9tEshPswEtMvJvUgNiAfbzHfPYmq8D6x5xOw1IySg 2e/LBACxr2UJYCCB2BZ3p508mAB0RpuLGukq+7UWiOizy+kSskIBg2O7sQkVY/Cs iyGEo4XvXqZFMY39RBdfm2GY+WB/5NFiTOYJRKjfprP6K1YbtsmctsX8dG+foKsD LLFs7OuVfaydLQYp1iiN6D+LJDSMPM8/LCWzZsgr9EKJ8NXiyrQ6TGludXggTWFu ZHJha2UgU2VjdXJpdHkgVGVhbSA8c2VjdXJpdHlAbGludXgtbWFuZHJha2UuY29t PohWBBMRAgAWBQ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o 0NAiRYqYid0AoJgeWzXrEdIClBOSW5Q6FzqJJyaqAKC0Y9YI3UFlE4zSIGjcFlLJ EJGXlA== =yGlX - -----END PGP PUBLIC KEY BLOCK----- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+lQDHmqjQ0CJFipgRAug/AJwL0MAAJoQujMrbABBodUrzLqXvNQCeLrn/ CmWcIfvqoNjNRrsxIh+6ghc= =IVym -----END PGP SIGNATURE----- _______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.netsys.com/full-disclosure-charter.html