|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Re: local root on linux 2.2.15
From: Wojciech Purczynski (wp
ELZABSOFT.PL)Date: Mon Jun 12 2000 - 08:06:18 CDT
- Next message: Renaud Deraison: "MS-040 'proof of concept' code"
- Previous message: Job de Haas: "Vulnerability in Solaris ufsrestore"
- In reply to: Philip Guenther: "Re: local root on linux 2.2.15"
- Next in thread: Jeff Dafoe: "Re: local root on linux 2.2.15"
- Next in thread: Rogier Wolff: "Re: local root on linux 2.2.15"
- Reply: Wojciech Purczynski: "Re: local root on linux 2.2.15"
- Reply: Jeff Dafoe: "Re: local root on linux 2.2.15"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 8 Jun 2000, Philip Guenther wrote:
> Question: given this bug, is it now the community expectation that every
> program that setuids from 0 to non-zero should check for the presence of
> this kernel bug?
Procmail is _not_ affected by saved UID bug because it doesn't try to drop
privileges and then regain them by switching back to UID 0.
However, Procmail is buggy because it tries to drop privileges using
setreuid system call which fails with EPERM. Procmail ignores that and
continues running with privileges it shouldn't have.
> The sendmail people have enhance sendmail in just such a fashion and
> I'm wondering whether I, as current maintainer of procmail, should do
> so to procmail. Are we going to see new versions of perl, screen,
> xterm, nxterm, and rxvt (all of which are setuid root on the Linux
> system in front of me) that contain code to detect this? I suspect so,
> and I'll add the requisite code to procmail for the next version.
IMHO, all those setuid-root programs should be fixed if they ignore return
values of system calls.
-wp
+--------------------------------------------------------------------+
| Wojciech Purczynski wp
elzabsoft.pl http://www.elzabsoft.pl/~wp |
| GSM: +48604432981 Linux Administrator SMS: wp-sms
elzabsoft.pl |
+------ Public GnuPG Key: http://www.elzabsoft.pl/~wp/gpg.asc ------+
- Next message: Renaud Deraison: "MS-040 'proof of concept' code"
- Previous message: Job de Haas: "Vulnerability in Solaris ufsrestore"
- In reply to: Philip Guenther: "Re: local root on linux 2.2.15"
- Next in thread: Jeff Dafoe: "Re: local root on linux 2.2.15"
- Next in thread: Rogier Wolff: "Re: local root on linux 2.2.15"
- Reply: Wojciech Purczynski: "Re: local root on linux 2.2.15"
- Reply: Jeff Dafoe: "Re: local root on linux 2.2.15"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]