From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1103af,5d4f4d7423365128 X-Google-Attributes: gid1103af,public X-Google-Thread: f5113,8fa549d0760e6ecc,start X-Google-Attributes: gidf5113,public X-Google-Thread: 10d4db,34bb0872cdae7f73 X-Google-Attributes: gid10d4db,public X-Google-ArrivalTime: 1994-10-08 10:29:42 PST Newsgroups: comp.os.linux.misc,comp.mail.smail,comp.os.linux.announce Path: bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!caen!news.tc.cornell.edu!travelers.mail.cornell.edu!cornell!bounce-bounce From: oliver@sol.cs.wmich.edu (Christopher Oliver) Subject: Re: Security hole in smail - be careful! Message-ID: Followup-To: comp.os.linux.misc Keywords: security hole, smail, debugging Sender: mdw@cs.cornell.edu (Matt Welsh) Reply-To: oliver@sol.cs.wmich.edu (Christopher Oliver) Organization: Western Michigan Univ. Comp. Sci. Dept. References: Date: Fri, 7 Oct 1994 18:29:05 GMT Xref: bga.com comp.os.linux.misc:23438 comp.mail.smail:640 comp.os.linux.announce:1362 -----BEGIN PGP SIGNED MESSAGE----- Martin Bartosch (martin2@sueton.ida.ing.tu-bs.de) wrote: > 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: I confirmed this bug both under linux and Solaris 2.3. This bug allows a user to append data to an arbitrary file. I have written a source patch to remove this bug. I have sent the diff to the the original authors as well. I have removed the method of exploition which was included in the original post, but I suggested that the author should write CERT. The patch follows: *** main.c.orig Fri Oct 7 04:31:28 1994 - --- main.c Fri Oct 7 04:05:32 1994 *************** *** 333,338 **** - --- 333,339 ---- } if (config_file != save_config_file || arg_second_config_file || + arg_debug_file || arg_director_file || arg_router_file || arg_transport_file || arg_qualify_file || arg_retry_file || arg_smail_lib_dir || arg_alias_file || operation_mode == REBUILD_ALIASES) To obtain my key, either finger oliver@cs.wmich.edu or use a key server such as pgp.ai.mit.edu. -----BEGIN PGP SIGNATURE----- Version: 2.6.1 iQCVAwUBLpUNoMkpYZNdTgoxAQGIKAP7Bot5FsB0D4JP33gYbyEWEriiICy+Qadf mU7XjGjesyod0pUdczBPuAVi8H0rKxc7jKw1kxltYiKd3+45cArKDEPqliQLcEQR My7TSX+c1idsXfIPMb3q8fZuYNRJESrfb2txblfWyZ2g6JBzp6Twtcb3nGrPmkHZ FR/zMcgpIIc= =3XW1 -----END PGP SIGNATURE----- -- Christopher Oliver Computer Science Office Concurrent Computations Research Center __o Friedmann Hall Internet: oliver@cs.wmich.edu _`\<,_ Western Michigan University (_)/ (_) Kalamazoo, Michigan, 49008-5021 -- 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.