From: mfraioli@grebyn.com (Marc Fraioli)
Subject: Re: Urgent: a hole in X security - xwatchwin2
Date: Fri, 19 Mar 1993 22:25:21 GMT [thread overview]
Message-ID: <1993Mar19.222521.5307@grebyn.com> (raw)
In-Reply-To: CONS.93Mar17101003@mercury.cern.ch
In article <CONS.93Mar17101003@mercury.cern.ch> cons@mercury.cern.ch (Lionel Cons) writes:
>>>>>> On Tue, 16 Mar 1993 23:04:22 GMT, mfraioli@grebyn.com (Marc Fraioli) said:
>
>> > In article <C3xpnn.8LK@curia.ucc.ie> dobyrne@curia.ucc.ie (David O'Byrne) writes:
>> >
>> >A new program has found its way into our LAN called xwatchwin2. This
>> >appears to allow anyone who can log in to a machine to view the contents of
>> >any users session on that machine. Is there a workaround, perhaps a server option
>> >(Xws and Xtm2). Our LAN consists of a network of DECstation 5000's running
>> >Ultrix 4.2.
>> >
>> >thanks
>> >David
>> >--
>>
>> This program has been around, sometimes called xkey, and exploits a
>> bug which I believe only exists in X11R3 and earlier.
>
>These are two different programs, xwatchwin2 gets a copy of what's on
>the screen (like xwd) and xkey gets all the keys pressed. xkey is more
>dangerous because it can record the passwords you type.
>
>Both programs work in all versions of X (including X11R5) because they
>do not exploit a bug but only design features.
>
Ok...
>> While Ultrix
>> 4.2 (I actually use 4.2a-- I don't know what the differences are)
>> on a DEC5000 comes with X11R4, unfortunately some of the clients,
>> such as dxterm, are still R3 clients, from what I understand. With
>> the dxterm, it is possible to defeat this by choosing the "secure
>> terminal" option from one of its pull-down menus.
>
>Wrong!!! A trivial enhancement to xkey (as it was posted) allows to
>ignore the "secure terminal" option. This option is useless and does
>not protect anything. Don't rely on it!
>
>BTW, xterm as an option called "secure keyboard" that does the same
>thing (and is therefore also useless).
>
I hadn't realized that. I'm no X guru, and I found that the "secure
keyboard" option defeated the version of xkey that I had. Thanks for
the tip.
>> Unfortunately,
>> this causes the X server to misbehave in various strange ways.
>> Still, it's useful to prevent someone from grabbing your screen
>> while you su, for example, thus allowing you to at least keep the
>> root password secure. Other than
>> that, I don't know any general way around it.
>>
>> --
>> Marc Fraioli
>> mfraioli@grebyn.com (So I'm a minimalist...)
>
>In conclusion, if you allow someone to access your display then he can
>do anything: read the screen and record every key you type.
>
>The ONLY solution is to restrict the access to your display, by using
>xauth and the MIT-MAGIC-COOKIE for instance.
>--
I've noticed that our Suns use this. I can't figure out how to do it on
our Ultrix machines though. It doesn't seem to be in the man pages.
Any help?
>Lionel Cons
--
Marc Fraioli
mfraioli@grebyn.com (So I'm a minimalist...)
next prev parent reply other threads:[~1993-03-19 22:25 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
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 [this message]
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