Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Jason Haar <j.haar@csc.canterbury.ac.nz>
Subject: Re: Urgent: a hole in X security - xwatchwin2
Date: Wed, 17 Mar 1993 05:43:25 GMT	[thread overview]
Message-ID: <C40qKD.81p@cantua.canterbury.ac.nz> (raw)
In-Reply-To: 1993Mar16.230422.14356@grebyn.com

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



  parent reply	other threads:[~1993-03-17  5:43 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1993Mar15.071215.5122@tigger.jvnc.net>
1993-03-15 14:30 ` Urgent: a hole in X security - xwatchwin2 David O'Byrne
1993-03-15 16:59   ` Andre Beck
1993-03-15 17:50     ` Bob Heiney
     [not found]       ` <1o2jfe$1t7@irz401.inf.tu-dresden.de>
1993-03-15 19:58         ` Bob Heiney
     [not found]       ` <1o2p4t$20t@irz401.inf.tu-dresden.de>
1993-03-16 18:53         ` Bob Heiney
1993-03-15 19:56   ` Jack A. Zucker
     [not found]   ` <1993Mar16.230422.14356@grebyn.com>
1993-03-17  5:43     ` Jason Haar [this message]
1993-03-18 20:01       ` Jason Haar
1993-03-20 19:08         ` Bob Longo
1993-03-21 10:11           ` Klaus Steinberger
     [not found]   ` <CONS.93Mar17101003@mercury.cern.ch>
1993-03-17 16:19     ` Robert J. Granvin
1993-03-19  3:42       ` Ian Dall
1993-03-19  5:34         ` George Michaelson
1993-03-19 12:05           ` Andre Beck
1993-03-19 14:22         ` Marcus J Ranum
1993-03-21  4:55           ` Richard Todd
1993-03-22  7:33           ` Ian Dall
     [not found]       ` <1oq61sINNgp5@shelley.u.washington.edu>
1993-03-24 19:51         ` Robert J. Granvin
1993-03-19 22:25     ` Marc Fraioli
1993-03-22 14:07       ` Andre Beck
1993-03-22 21:27         ` Jason Haar
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox