aru Posted March 28, 2003 Report Share Posted March 28, 2003 MandrakeSoft Security Advisory MDKSA-2003:038 : kernel March 27th, 2003 Updated 2,4 kernel packages fix ptrace vulnerability 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 The released versions of Mandrake GNU/Linux affected are: 9.0 [*] Corporate Server 2.1 Full information about this advisory, including the updated packages, is available at: www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2003:038 Other references are: http://cve.mitre.org/cgi-bin/cvename.cgi?n...e=CAN-2003-0127 Posted automatically by aru (mdksec2mub v0.0.4) Link to comment Share on other sites More sharing options...
aru Posted March 28, 2003 Author Report Share Posted March 28, 2003 The released versions of Mandrake GNU/Linux affected are: 9.0 [*] Corporate Server 2.1 Despite of that, I encourage all 2.4 kernel users -- doesn't matter which version of Mandrake are running -- to install the lastest 9.1 (or patched 9.0) kernel which already has the vulnerability fixed Also for those who run a vanilla --or non mdk-- kernel, the post Security Hole in KERNELs 2.2.x to 2.4.x has references to alan cox's fix pachtes Link to comment Share on other sites More sharing options...
Recommended Posts