From: bill@snow.osf.org (Bill Masek)
Subject: Re: sendmail can't deliver to programs ???
Date: 2 May 1994 20:07:25 GMT [thread overview]
Message-ID: <2q3mht$jak@paperboy.osf.org> (raw)
In-Reply-To: MELLAN.94Apr28160452@syst06.acri.fr
In article <MELLAN.94Apr28160452@syst06.acri.fr>, mellan@syst06.acri.fr (Alain Mellan) writes:
|> I'm running DEC OSF/1 1.2 on a couple of AXP workstations. I can't get
|> the sendmail to deliver to a local user which has a
|> "| /pipe/to/some/program" in his .forward
|> <<< 554 <"|/usr/local/bin/deliver mellan">... Cannot mail directly to programs
There is a "sendmail" security hole based on sending mail to a program. You setup
a program in your .forward which creates a setuid shell. Then you send yourself
mail. If sendmail runs the program as root (or daemon) then it creats a setuid
shell owned by root or daemon. Then you can break into the system.
It looks like your sendmail is agressively closing that hole. There may be
a problem with the user name. Your sendmail should be able to fork a process
that is that user to run the pipe. I am not familiar with DEC OSF/1's sendmail,
so I cannot comment on that implementation.
--
bill masek open software foundation
(617) 275-4565 (h) (617) 621-8892 (w)
bill@osf.org uunet!osf.org!bill
prev parent reply other threads:[~1994-05-02 20:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-04-28 14:04 sendmail can't deliver to programs ??? Alain Mellan
1994-04-28 15:48 ` Neil Rickert
1994-05-02 20:07 ` Bill Masek [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox