tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Tom Leffingwell <tom () sba ! miami ! edu>
To: tru64-unix-managers
Subject: Digital UNIX mesg problem
Date: Tue, 29 Apr 1997 19:09:08 +0000	[thread overview]
Message-ID: <96078611110734.tru64-unix-managers.marc@archive.invalid> (raw)


I just sent this to bugtraq, and I thought It might be of interest here.
Any DEC people care to comment?

---------- Forwarded message ----------
Date: Tue, 29 Apr 1997 15:06:50 -0400 (EDT)
From: Tom Leffingwell <tom@sba.miami.edu>
To: bugtraq@netspace.org
Subject: Digital UNIX/Irix mesg problem


	This is rather stupid and not much of a bug, but it shouldn't
happen.  Basically, the permissions on your tty are set correctly, with
messages on, during login.  If you turn them off, and then turn them back
on, your tty becomes world writable.  (Actually, you don't have to turn
them off, mesg y automatically sets permissions that way).  I don't
remember that being that way in Digital UNIX 3, but I can't think of a box
to check it on.  I noticed that Ultrix, FreeBSD, and Solaris don't have
this problem.  I also noticed that Irix does the same thing (has the
problem).  I did call DEC, but they seemed rather confused.  I don't see
any reason for this.  Nothing to exploit, but I guess people could easily
fake a write from another user, or send annoying things anonymously 
(cat /vmunix > /dev/ttyXX). 

% tty
/dev/ttyp4
% ls -l /dev/ttyp4
crw--w----   2 tom      terminal   6,  4 Apr 29 14:50 /dev/ttyp4
% mesg n
% ls -l /dev/ttyp4
crw-------   2 tom      terminal   6,  4 Apr 29 14:50 /dev/ttyp4
% mesg y
% ls -l /dev/ttyp4
crw--w--w-   2 tom      terminal   6,  4 Apr 29 14:50 /dev/ttyp4

____________________________________________________________________

Tom Leffingwell	       	       Office: Jenkins 314K		      	   
Systems Manager 	       Office Phone: (305) 284-1962        
Network Security	       Email: tom@sba.miami.edu	       

School of Business	     	   
University of Miami  		 
____________________________________________________________________

                 reply	other threads:[~1997-04-29 19:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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