Full Disclosure mailing list archives
Re: Partial Solution to SUID Problems
From: Michal Zalewski <lcamtuf () coredump cx>
Date: Sun, 7 Dec 2003 01:59:50 +0100 (CET)
On Sat, 6 Dec 2003 Valdis.Kletnieks () vt edu wrote:
Sometimes, old and silly rules aren't just about security. The *real* reason for the "always su from a user account" rule isn't to stop exploits. It's so you have an audit trail of who did what.
Quite often in a large shop, you'll have 5 or 6 people who have legitimate root access to a box /.../
The way I handle this is creating several :0:0: accounts with separate
passwords. After login, they will all see themselves as the first user
with :0:0 in /etc/passwd, but utmp/wtmp/lastlog entries and syslog
messages would refer to the original login account.
But as I said, su is valid in some configurations... yet, the rule I am
referring to is often perceived as a security feature - that by having
another setuid program you may prevent others from sniffing your root
password... and this is sort of bogus.
--
------------------------- bash$ :(){ :|:&};: --
Michal Zalewski * [http://lcamtuf.coredump.cx]
Did you know that clones never use mirrors?
--------------------------- 2003-12-07 01:56 --
http://lcamtuf.coredump.cx/photo/current/
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html
Current thread:
- Re: new dos attack?, (continued)
- Re: new dos attack? Jonathan A. Zdziarski (Dec 04)
- Re: Partial Solution to SUID Problems Ciro (Dec 05)
- Re: Partial Solution to SUID Problems Vladimir Parkhaev (Dec 05)
- Re: Partial Solution to SUID Problems Todd Burroughs (Dec 06)
- Re: Partial Solution to SUID Problems Henning Brauer (Dec 06)
- Re: Partial Solution to SUID Problems Todd Burroughs (Dec 06)
- Re: Partial Solution to SUID Problems Michal Zalewski (Dec 06)
- Re: Partial Solution to SUID Problems Valdis . Kletnieks (Dec 06)
- Re: Partial Solution to SUID Problems Todd Burroughs (Dec 07)
- Re: Partial Solution to SUID Problems Karl DeBisschop (Dec 07)
- Re: Partial Solution to SUID Problems Michal Zalewski (Dec 07)
- Re: Partial Solution to SUID Problems Valdis . Kletnieks (Dec 06)
- Re: Partial Solution to SUID Problems Markus Friedl (Dec 07)
- Re: Partial Solution to SUID Problems Brian Hatch (Dec 07)
- Re: Partial Solution to SUID Problems Henning Brauer (Dec 08)
- Re: Partial Solution to SUID Problems Todd Burroughs (Dec 06)
- Re: Partial Solution to SUID Problems Michal Zalewski (Dec 06)
