Users login

Create an account »

JOIN XATRIX

Users login

Home » Hacking News » Debian DSA 270-1: kernel local privilege escalation

Debian DSA 270-1: kernel local privilege escalation

by Nikola Strahija on March 27th, 2003 The kernel module loader in Linux Kernel versions 2.2 and 2.4 has a flaw in ptrace. This flaw allows local users to gain root privileges.


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- --------------------------------------------------------------------------
Debian Security Advisory DSA 270-1 [email protected]
http://www.debian.org/security/ Martin Schulze
March 27sh, 2003 http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Packages : kernel-patch-2.4.17-mips, kernel-patch-2.4.19-mips
Vulnerability : local privilege escalation
Problem-Type : local
Debian-specific: no
CVE Id : CAN-2003-0127

The kernel module loader in Linux 2.2 and Linux 2.4 kernels has a flaw in ptrace. This hole allows local users to obtain root privileges by
using ptrace to attach to a child process that is spawned by the
kernel. Remote exploitation of this hole is not possible.

This advisory only covers kernel packages for the big and little endian MIPS architectures. Other architectures will be covered by separate advisories.

For the stable distribution (woody) this problem has been fixed in version 2.4.17-0.020226.2.woody1 of kernel-patch-2.4.17-mips (mips+mipsel) and in version 2.4.19-0.020911.1.woody1 of kernel-patch-2.4.19-mips (mips only).

The old stable distribution (potato) is not affected by this problem
for these architectures since mips and mipsel were first released with
Debian GNU/Linux 3.0 (woody).

For the unstable distribution (sid) this problem has been fixed in
version 2.4.19-0.020911.6 of kernel-patch-2.4.19-mips (mips+mipsel).

We recommend that you upgrade your kernel-images packages immediately.


Upgrade Instructions
- --------------------

wget url
will fetch the file for you
dpkg -i file.deb
will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
will update the internal database
apt-get upgrade
will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.


Debian GNU/Linux 3.0 alias woody
- --------------------------------

Source archives:

http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.17-mips/kernel-patch-2.4.17-mips_2.4.17-0.020226.2.woody1.dsc
Size/MD5 checksum: 786 937c32a962c27f9461a10d4d2c98c350
http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.17-mips/kernel-patch-2.4.17-mips_2.4.17-0.020226.2.woody1.tar.gz
Size/MD5 checksum: 1140097 e26c4406aa52e77b00df972335fdbb71

http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.19-mips/kernel-patch-2.4.19-mips_2.4.19-0.020911.1.woody1.dsc
Size/MD5 checksum: 832 4e431992276bcd65d34bd07b86784200
http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.19-mips/kernel-patch-2.4.19-mips_2.4.19-0.020911.1.woody1.tar.gz
Size/MD5 checksum: 1035256 cd2e9213d798552a7ebc550903e45bf9

Architecture independent components:

http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.17-mips/kernel-patch-2.4.17-mips_2.4.17-0.020226.2.woody1_all.deb
Size/MD5 checksum: 1142510 b1c1c6d93281938651b91c0caa85b818

http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.19-mips/kernel-patch-2.4.19-mips_2.4.19-0.020911.1.woody1_all.deb
Size/MD5 checksum: 1036948 8de25b980c15831460c844a535b76e3a

Big endian MIPS architecture:

http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.17-mips/kernel-headers-2.4.17_2.4.17-0.020226.2.woody1_mips.deb
Size/MD5 checksum: 3494700 3ebb5ff6d044f808b500dfb0f5beccad
http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.17-mips/kernel-image-2.4.17-r4k-ip22_2.4.17-0.020226.2.woody1_mips.deb
Size/MD5 checksum: 2038950 baae9c9e139d2b5ef035f01adea32171
http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.17-mips/kernel-image-2.4.17-r5k-ip22_2.4.17-0.020226.2.woody1_mips.deb
Size/MD5 checksum: 2039084 5bb6ad7c4207a6f351612fd4e330a337

http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.19-mips/kernel-headers-2.4.19_2.4.19-0.020911.1.woody1_mips.deb
Size/MD5 checksum: 3897722 8d096cf0e9286e175127dfb1763bfcd2
http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.19-mips/kernel-image-2.4.19-r4k-ip22_2.4.19-0.020911.1.woody1_mips.deb
Size/MD5 checksum: 2072292 3f49ce11a63309465f1ee5c31b54a1c4
http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.19-mips/kernel-image-2.4.19-r5k-ip22_2.4.19-0.020911.1.woody1_mips.deb
Size/MD5 checksum: 2072926 b4ac7b3f74a392c4f7482eb590eadcb2
http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.19-mips/mips-tools_2.4.19-0.020911.1.woody1_mips.deb
Size/MD5 checksum: 12418 ec83e5bf008c27285768faffcbbd8534

Little endian MIPS architecture:

http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.17-mips/kernel-headers-2.4.17_2.4.17-0.020226.2.woody1_mipsel.deb
Size/MD5 checksum: 3493956 68730ffdae0bd73800c5e9aef83094ca
http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.17-mips/kernel-image-2.4.17-r3k-kn02_2.4.17-0.020226.2.woody1_mipsel.deb
Size/MD5 checksum: 2193168 1ae735e62e4ff6c94b2741d0bad26d4c
http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.17-mips/kernel-image-2.4.17-r4k-kn04_2.4.17-0.020226.2.woody1_mipsel.deb
Size/MD5 checksum: 2189118 64001cdeae34c28e987bb4dca356213e
http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.17-mips/mips-tools_2.4.17-0.020226.2.woody1_mipsel.deb
Size/MD5 checksum: 14086 8a15ad3716a048cfac78184f67ec2985


These files will probably be moved into the stable distribution on
its next revision.

- ---------------------------------------------------------------------------------
For apt-get: deb http://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: [email protected]
Package info: `apt-cache show ' and http://packages.debian.org/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+gp7pW5ql+IAeqTIRAu7kAJ9ygZi3RlBDLDLtmCxrZqr+hWMnJQCdF2zT
ufPkQsPkQbZW7Doa6jXbjuc=
=TNSN
-----END PGP SIGNATURE-----


Newsletter signup

Signup to our monthly newsletter and stay in touch with IT news!

Free E-books

We've got ebooks! But they're not online. :( Please give us a few days to bring downloads back.

Contact

Have something to say or just wanna drop us a line? Please keep this in mind: to spam, we reply with spam.

Contact us »