OpenSSH
[Top] [All Lists]

Re: X11 forwarding over SSH - yet another loop-hole ?

To: sriniva@muohio.edu
Subject: Re: X11 forwarding over SSH - yet another loop-hole ?
From: Damien Miller <djm@mindrot.org>
Date: Tue, 13 Feb 2007 06:46:01 +1100 (EST)
Cc: openssh-unix-dev@mindrot.org
Delivered-to: sp-com-lists@consult.net
Delivered-to: openssh-unix-dev-list1@securepoint.com
Delivered-to: openssh-unix-dev-tmda@mindrot.org
Delivered-to: openssh-unix-dev@mindrot.org
In-reply-to: <b6c56df80702120944r6b0312aeo2749a79f17c6d26b@mail.gmail.com>
List-archive: <http://lists.mindrot.org/pipermail/openssh-unix-dev>
List-help: <mailto:openssh-unix-dev-request@mindrot.org?subject=help>
List-id: Development of portable OpenSSH <openssh-unix-dev.mindrot.org>
List-post: <mailto:openssh-unix-dev@mindrot.org>
List-subscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=subscribe>
List-unsubscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=unsubscribe>
References: <b6c56df80702120944r6b0312aeo2749a79f17c6d26b@mail.gmail.com>
Sender: openssh-unix-dev-bounces+openssh-unix-dev-list1=securepoint.com@mindrot.org
On Mon, 12 Feb 2007, Anand Srinivasan wrote:

> Hi,
> 
> I'm not sure if this is the right place to post this but I recently
> noticed something strange with X11 forwarding over SSH. I was running
> X11 on my Mac (OS X Server 10.4.8) and had two separate SSH sessions
> open to two different Linux boxes (I used the -Y flag). I started
> Firefox on the first box and then subsequently started Firefox on the
> second box. But instead of starting a new process on the second box a
> new process was spawned on the first box - I ran top to verify this
> and there was no Firefox process running on the second box, while
> there were two on the first ! I tried this a bunch of times and still
> the same thing happened. I believe this is a security loop-hole in the
> X11 forwarding over SSH. I've also tested this on a Windows box using
> putty and Xming(or any other X windows client) and still the same
> result. I would like to know if this problem has been addressed before
> and if so what is the solution to this. I have also tried connecting
> to the Linux boxes using the SSH -X flag and still the same result.
> Does this mean that -X is not really that secure when compared to -Y ?

Firefox does some funky X11 messaging to maintain one Firefox client
per X11 server. I.e. it will message a running client to open a new
window rather than starting a new client. Since this messaging happens
via X11, I don't think it matters whether or not the attempt to start
the second Firefox happens on the same machine.

I'm not seeing the loophole here...

-d
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

<Prev in Thread] Current Thread [Next in Thread>