From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f72b0,8b6d74fa49f7b9e0 X-Google-Attributes: gidf72b0,public X-Google-Thread: 10b612,b96cc09c15c35fb X-Google-Attributes: gid10b612,public X-Google-Thread: 1164f8,b96cc09c15c35fb X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-03-22 05:18:08 PST Xref: sparky comp.sys.dec:7985 comp.unix.ultrix:10456 comp.unix.misc:5550 comp.sys.dec:7986 Newsgroups: comp.sys.dec,comp.unix.ultrix,comp.unix.misc,comp.sys.dec Path: sparky!uunet!munnari.oz.au!yoyo.aarnet.edu.au!news.adelaide.edu.au!augean.eleceng.adelaide.edu.AU!hfrd.dsto.oz.au!dall From: dall@hfrd.dsto.gov.au (Ian Dall) Subject: Re: Urgent: a hole in X security - xwatchwin2 Message-ID: <1993Mar22.073358.29756@hfrd.dsto.gov.au> Sender: dall@hfrd.dsto.gov.au (Ian Dall) Organization: Defence Science and Technology Organisation References: <1993Mar19.034226.6576@hfrd.dsto.gov.au> <1ockv1INNlk1@sol.tis.com> Date: Mon, 22 Mar 1993 07:33:58 GMT In article <1ockv1INNlk1@sol.tis.com>, mjr@tis.com (Marcus J Ranum) writes: > >A MIT-MAGIC-COOKIE is a long (random) number. Essentially, the server > >allows any client which knows that random number to connect. > > That's it? That's hardly cryptographically secure!! There are > no provisions for the key's (magic-cookie) getting permuted over time > or changed automatically with each session? If you use xdm, it will be different with each session, it will not be permuted over time within a session. > Any reasonbly > competent tcpdump postprocessor should be able to grab cookies off > the wire... Yep. If you need the level of security where you are worried about people running tcpdump (which if you have a physically secure net and all the hosts on it are secure you might not be), then you need something more secure. On MIT R4 or later xdm, servers and clients all support DES authentication (XDM-AUTHENTICATION-1), but you need to supply/get from other sources your own DES implimentation because of US state dept paranoia. I have never actually used this, but I believe operation is much the same, except for that actual transmission which is encrypted and decrypted using a private key. I am not sure how the private key get communicated. -- Ian Dall I'm not into isms, but hedonism is the most harmless I can think of. -- Phillip Adams internet: dall@hfrd.dsto.gov.au