|
|||||||||||
|
RE: latest ptrace hole patch?
From: Jeremy Gaddis <jeremy(at)gaddis.org>
Date: Mon Mar 24 2003 - 20:15:45 EST
I tested the exploited previously posted to bugtraq (km3.c) by anszom@v-lo.krakow.pl against a variety of Linux machines (Slackware 8.0, Red Hat Linux 7.0, multiple Debian 3.0) and each one was exploitable when using the stock kernels. I applied this same patch to two of my Debian 3.0 machines and recompiled their kernels. Neither appear vulnerable to this exploit now. With the patched kernels, running the above-mentioned exploit simply results in it repeatedly forking. Unpatched Red Hat Linux 7.0 with stock kernel:
[jeremy@venus:pts/1:~/security]$ ./km3
=> Simple mode, executing /usr/bin/id > /dev/tty
sizeof(shellcode)=95
Patched (using above patch) Debian Linux 3.0: [jeremy@MERCURY:pts/0:~/security]$ ./km3 Linux kmod + ptrace local root exploit by <anszom@v-lo.krakow.pl> => Simple mode, executing /usr/bin/id > /dev/tty sizeof(shellcode)=95 => Child process started.......... => Child process started.......... => Child process started.......... => Child process started.......... => Child process started.......... => Child process started.......... => Child process started.......... => Child process started. (^C issued at this point)[jeremy@MERCURY:pts/0:~/security]$ I didn't test any exploit available at www.hack.co.za as I wasn't able to connect to that webserver for an unknown reason. j. -- Jeremy L. Gaddis < jeremy(at)gaddis.org> < http://www.gaddis.org>Received on Tue Mar 25 14:15:12 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:01:20 EDT |
||||||||||
|
|||||||||||