From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102533,b96cc09c15c35fb X-Google-Attributes: gid102533,public X-Google-Thread: f4e7d,b96cc09c15c35fb X-Google-Attributes: gidf4e7d,public X-Google-Thread: 102b99,b96cc09c15c35fb X-Google-Attributes: gid102b99,public X-Google-Thread: 10b612,b96cc09c15c35fb X-Google-Attributes: gid10b612,public X-Google-Thread: 1085ff,b96cc09c15c35fb X-Google-Attributes: gid1085ff,public X-Google-Thread: 109c0d,b96cc09c15c35fb X-Google-Attributes: gid109c0d,public X-Google-Thread: 1164f8,b96cc09c15c35fb X-Google-Attributes: gid1164f8,public X-Google-Thread: f8c6e,b96cc09c15c35fb X-Google-Attributes: gidf8c6e,public X-Google-ArrivalTime: 1993-03-16 22:23:11 PST Xref: sparky misc.forsale.computers:47394 misc.forsale:41053 nj.forsale:3457 ny.forsale:2857 misc.forsale.computers.workstation:1316 ne.forsale:6822 comp.sys.dec:7901 comp.unix.ultrix:10356 comp.unix.misc:5493 comp.sys.dec:7902 vmsnet.admin:520 Newsgroups: misc.forsale.computers,misc.forsale,nj.forsale,ny.forsale,misc.forsale.computers.workstation,ne.forsale,comp.sys.dec,comp.unix.ultrix,comp.unix.misc,comp.sys.dec,vmsnet.admin Path: sparky!uunet!comp.vuw.ac.nz!canterbury.ac.nz!cantsc!cctr127 From: Jason Haar Subject: Re: Urgent: a hole in X security - xwatchwin2 Message-ID: Followup-To: misc.forsale.computers,misc.forsale,nj.forsale,ny.forsale,misc.forsale.computers.workstation,ne.forsale,comp.sys.dec,comp.unix.ultrix,comp.unix.misc,comp.sys.dec,vmsnet.admin Nntp-Posting-Host: cantsc.canterbury.ac.nz Organization: CSC, University of Canterbury, Christchurch, New Zealand. X-Fax: +64-3-364-2332 X-Newsreader: TIN [version 1.1 PL8] References: <1993Mar16.230422.14356@grebyn.com> Date: Wed, 17 Mar 1993 05:43:25 GMT X-Verbal: phone +64-3-364-2336 (work) +64-3-348-7183 (home) Marc Fraioli (mfraioli@grebyn.com) wrote: > > This program has been around, sometimes called xkey, and exploits a bug > which I believe only exists in X11R3 and earlier. While Ultrix 4.2 (I I'm afraid I've got some bad news for you... this isn't a "bug" - it's a feature ;-) DEC for some reason refuses to implement the MIT MAGIC-COOKIE routines which allow a sort-of end-user X security. Under DECwindows (for example), you have the option with DECnet of allowing usercode MYNAME on node NODENAME to access your display (under the Security menu). With TCP/IP, you have to specify a wildcard for the usercode - i.e. any user on TCP/IP node MYNAME can output onto your display. The MAGIC-COOKIE stuff (I'm a user - not a guru in case you haven't noticed ;-) involves you giving to the usercodes you want to be able to access your display a special file that contains a "password-like" phrase that they must show the server (your display) before actually being able to connect. Hence it allows you a similar level of protection for TCP/IP as already exists over DECnet (DECnet uses a completely different authentication scheme - after all, the person's usercode is passed in each packet!). I can attest that this "problem" exists under X11R5 - but as only Un*x boxes here use R5 - they all have MAGIC-COOKIE protection and everyone lives happily ever after :-) BTW: xkey is nasty - it certainly allows you to grab passwords/etc... If you run X11 - you _should_ run MAGIC-COOKIE -- Cheers Jason Haar, Network Consultant