From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,34bb0872cdae7f73,start X-Google-Attributes: gid10d4db,public X-Google-ArrivalTime: 1994-10-06 13:03:16 PST Newsgroups: comp.os.linux.announce Path: bga.com!news.sprintlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!news.kei.com!travelers.mail.cornell.edu!cornell!bounce-bounce From: martin2@sueton.ida.ing.tu-bs.de (Martin Bartosch) Subject: Security hole in smail - be careful! Message-ID: Followup-To: comp.os.linux.misc Summary: Security hole in smail. Keywords: security hole, smail, debugging Sender: mdw@cs.cornell.edu (Matt Welsh) Reply-To: martin@koma.escape.de Organization: TU Braunschweig, Informatik (Bueltenweg), Germany Date: Thu, 6 Oct 1994 14:57:37 GMT Hi, last night I discovered a potential danger to all sites that run smail. A quick check on some other sites (thanks to the folks on #linux) revealed that most systems are affected by this. Essentially, the smail bug will allow ordinary users to create files anywhere they want to: Assume /usr/lib/sendmail is a softlink to /usr/bin/smail. $ /usr/lib/sendmail -d -D/etc/i_am_broken noone@universe $ ls -l /etc/i_am* Be aware of this. Some sites even come up with permissions rw-rw-rw-! This behaviour is not affected by -smtp-debug. Just my $0.02. Martin. -- Martin Bartosch Institut fuer martin2@ida.ing.tu-bs.de 38102 Braunschweig Datenverarbeitungsanlagen martin@koma.escape.de +49 531 332214 TU Braunschweig -- Send submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu Be sure to include Keywords: and a short description of your software.