lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 14 Jul 2006 20:32:51 +0300
From: Michael Shigorin <mike@...n.org.ua>
To: bugtraq@...urityfocus.com
Subject: Re: Linux Kernel 2.6.x PRCTL Core Dump Handling -- Simple workaround

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@...linux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ