You are not logged in.

#1 2006-07-18 23:22:12

leif_thande
Member
Registered: 2005-07-09
Posts: 20

Vulnerability in 2.6.17 kernel

Hi there,

A new kernel vulnerability is affecting all 2.6 versions up to 2.6.17-4. Since it's locally exploitable it isn't a real problem for personnal computers but more alarming for servers.

The current Arch kernel is not vulnerable, so like always I encourage you to keep your systems up to date.

Offline

#2 2006-07-18 23:39:19

user
Member
Registered: 2006-03-29
Posts: 465

Re: Vulnerability in 2.6.17 kernel

link please

I am using

 > uname -a
Linux arch 2.6.18-rc2 #1 PREEMPT Tue Jul 18 20:11:34 KST 2006 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GenuineIntel GNU/Linux
 >

I removed my sig, cause i select the flag, the flag often the target of enemy.

SAR brain-tumor
[img]http://img91.imageshack.us/img91/460/cellphonethumb0ff.jpg[/img]

Offline

#3 2006-07-19 00:02:06

soloport
Member
Registered: 2005-03-01
Posts: 442

Re: Vulnerability in 2.6.17 kernel

user wrote:

I am using:
Linux arch 2.6.18-rc2 #1 PREEMPT Tue Jul 18 20:11:34 KST 2006 i686

Yeah.  His post is so 2.6.17...

tongue

Offline

#4 2006-07-19 16:31:57

leif_thande
Member
Registered: 2005-07-09
Posts: 20

Re: Vulnerability in 2.6.17 kernel

yeah, just figured out I forgot to give the urls. Here they come :

Linux Kernel PROC Filesystem Local Privilege Escalation on SecurityFocus

the exploit

Original message on Full-Disclosure

Have fun !

Offline

#5 2006-07-19 18:52:51

eWoud
Member
Registered: 2005-07-06
Posts: 39

Re: Vulnerability in 2.6.17 kernel

[ewoud@aenea:~]$ gcc -o h00lyshit h00lyshit.c
[ewoud@aenea:~]$ ./h00lyshit h00lyshit.c

preparing
trying to exploit h00lyshit.c

sh-3.1$ whoami
ewoud

edit: duh! guess I missed the final sentence of his post


tea is overrated

Offline

#6 2006-07-19 19:05:17

kth5
Member
Registered: 2004-04-29
Posts: 657
Website

Re: Vulnerability in 2.6.17 kernel

the vulnerability has long been fixed, ever since .5


I recognize that while theory and practice are, in theory, the same, they are, in practice, different. -Mark Mitchell

Offline

#7 2006-07-20 02:42:31

leif_thande
Member
Registered: 2005-07-09
Posts: 20

Re: Vulnerability in 2.6.17 kernel

I guess you refer to 2.6.17.5 , not 2.6.5 . To me 5 days ago is not such a long time ( 2.6.17.5 was released July 14).

Offline

#8 2006-07-20 06:57:24

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Vulnerability in 2.6.17 kernel

To "fix" these bugs with workarounds:

mount -o remount,nosuid /proc
echo /root/core > /proc/sys/kernel/core_pattern

The first one makes sure the coredumps to files with root ownership bug is no longer possible: all files will get dropped in /root/core, not in other locations on the filesystem (assuming /root/core is innocent as cron doesn't scan it).

The 2nd one makes sure you can't make things setuid in /proc, which disables the common exploits that try to make use of it.

These are just workarounds, but if you aren't able to update to the latest kernel, these workarounds should keep scriptkiddies out.

BTW: one of my webservers was hacked back on 14th of july with this one, the same day the kernelpatch for the proc exploit thingy was released.

Offline

#9 2006-07-20 07:32:12

user
Member
Registered: 2006-03-29
Posts: 465

Re: Vulnerability in 2.6.17 kernel

That's why plan9 is so gr8.


I removed my sig, cause i select the flag, the flag often the target of enemy.

SAR brain-tumor
[img]http://img91.imageshack.us/img91/460/cellphonethumb0ff.jpg[/img]

Offline

#10 2006-07-20 18:20:01

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Vulnerability in 2.6.17 kernel

Which has what to do with this discussion?

Offline

#11 2006-07-20 18:33:06

codemac
Member
From: Cliche Tech Place
Registered: 2005-05-13
Posts: 794
Website

Re: Vulnerability in 2.6.17 kernel

Gullible Jones wrote:

Which has what to do with this discussion?

http://en.wikipedia.org/wiki/Plan_9_fro … bs#.2Fproc

/proc came from Plan9, and user was just reiterating how gr8 that was.

Offline

Board footer

Powered by FluxBB