BugTraq
rPSA-2006-0122-2 kernel Jul 13 2006 08:28PM
Justin M. Forbes (jmforbes rpath com) (1 replies)
Linux Kernel 2.6.x PRCTL Core Dump Handling -- Simple workaround Jul 14 2006 02:50PM
Caveo Internet BV - Security (security caveo nl) (3 replies)
Re: Linux Kernel 2.6.x PRCTL Core Dump Handling -- Simple workaround Jul 14 2006 07:08PM
Hugo van der Kooij (hvdkooij vanderkooij org)
Re: Linux Kernel 2.6.x PRCTL Core Dump Handling -- Simple workaround Jul 14 2006 06:36PM
Lukasz Trabinski (lukasz wsisiz edu pl) (1 replies)
Re: Linux Kernel 2.6.x PRCTL Core Dump Handling -- Simple workaround Jul 16 2006 10:11AM
Michal Zalewski (lcamtuf dione ids pl)
Re: Linux Kernel 2.6.x PRCTL Core Dump Handling -- Simple workaround Jul 14 2006 05:32PM
Michael Shigorin (mike osdn org ua)
On Fri, Jul 14, 2006 at 04:50:19PM +0200, Caveo Internet BV - Security wrote:
> The most easy way to stop this vulnerability is this by
> sepcifying the core dump location
>
> echo /root/core > /proc/sys/kernel/core_pattern
>
> This specifies /root as core dump location which makes it
> unavailable for the local user.

Better yet (generally),

sysctl -w kernel.core_pattern=/dev/null
[ -f /etc/sysctl.conf ] && { grep -q ^kernel.core_pattern /etc/sysctl.conf || echo kernel.core_pattern = /dev/null >> /etc/sysctl.conf }

--
---- WBR, Michael Shigorin <mike (at) altlinux (dot) ru [email concealed]>
------ Linux.Kiev http://www.linux.kiev.ua/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFEt9VDbsPDprYMm3IRAhyIAJ9EvtvXkke5037YCA+b/t0rvW7bggCfWuhK
KsGlL2sGo7OwJQbSs6G+ntA=
=7fOz
-----END PGP SIGNATURE-----

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus