Mysterious security hole
    John Pochmara 
    pochmara at ogicse.ogi.edu
       
    Tue Jun 18 01:45:35 AEST 1991
    
    
  
In article <319 at dlss2.UUCP> james at dlss2.UUCP (James Cummings) writes:
>>In article <70 at pyuxf.UUCP> mal1 at pyuxf.UUCP (25337-maureen lecuona) writes:
>>The security hole having to do with "." being anywhere but last
>>in the PATH is due to the following scenario:
>This is not what I would term a "security hole".  This is quite
>fixable, and should be by most competent administrators.  I would term this
>as one of many stupid (too harsh?) things that vendors of OSs do when they
>ship their product.  
	This *is* a "security hole".  Some directories are world
	writable, have to be. ie. /tmp and /usr/tmp.  
	Say you create randow file in /tmp, then you cd there and 
	do an 'ls'.  And someone else has put a program named 'ls' 
	in /tmp. And if '.' is at the beging of your path, you have 
	just exucuted something you did not intend to execute.  
	I would call this a "security hole".
	I did see how this could be seen as 'one of many stupid 
	(too harsh?) things that vendors of OSs do when they ship 
	their product'.
	In short '.' should NOT be in roots' PATH and should be
	at the end, if at all, is users PATH.
		--John Pochmara
		  pochmara at cse.ogi.edu
    
    
More information about the Comp.unix.admin
mailing list