From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,de1e683a2e4f3412 X-Google-Attributes: gidfee84,public X-Google-Thread: 10de99,de1e683a2e4f3412 X-Google-Attributes: gid10de99,public X-Google-ArrivalTime: 1994-05-02 13:54:37 PST Path: bga.com!news.sprintlink.net!hookup!yeshua.marcam.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!usc!bloom-beacon.mit.edu!paperboy.osf.org!snow.osf.org!bill From: bill@snow.osf.org (Bill Masek) Newsgroups: comp.mail.sendmail,comp.unix.osf.osf1 Subject: Re: sendmail can't deliver to programs ??? Date: 2 May 1994 20:07:25 GMT Organization: Open Software Foundation Distribution: world Message-ID: <2q3mht$jak@paperboy.osf.org> References: NNTP-Posting-Host: snow.osf.org Xref: bga.com comp.mail.sendmail:2484 comp.unix.osf.osf1:1436 In article , 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