[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[linux-security] Re: RedHat 6.0, /dev/pts permissions bug when usingxterm (fwd)
- From: Torbjorn Kristoffersen <torbkris online no>
- To: linux-security redhat com
- Subject: [linux-security] Re: RedHat 6.0, /dev/pts permissions bug when usingxterm (fwd)
- Date: Mon, 7 Jun 1999 23:42:46 +0200 (CEST)
On Mon, 7 Jun 1999 alex yuriev com wrote:
>
> The problem lies in the way that the permissions are set for local
> connections with the X server using xterm.
> if you do an ls -l /dev/pts/<the xterm's tty> (we will use pts/0)
> You get:
> crw--w--w- 1 ov3r ov3r 136, 0 Jun 6 12:32 /dev/pts/0
>
> Notice how now "everyone" has write access to this terminal?
> This leads to the hole that any local user can disrupt any xterminal
> connected to the local machine. Simply typing "cat /dev/urandom >
I've also got RedHat 6.0, but the `bug' never occurs. When a
local X users uses an XTerm, his terminal device's name is
as expected /dev/pts/<..>.
However, the permissions of the device are crw--w----. Everyone hasn't
write access to the tty. So I don't think this bug can be in all RH6.0
distributions.
Cheers..
T. S. Kristoffersen <torbkris online no>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]