home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / linux / 17211 < prev    next >
Encoding:
Text File  |  1992-11-19  |  1.6 KB  |  40 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!mcsun!sun4nl!dutrun!donau!zen.et.tudelft.nl!wolff
  3. From: wolff@zen.et.tudelft.nl (Rogier Wolff)
  4. Subject: Re: rm Security Problem!
  5. Message-ID: <1992Nov19.173949.16372@donau.et.tudelft.nl>
  6. Sender: news@donau.et.tudelft.nl (UseNet News System)
  7. Nntp-Posting-Host: zen.et.tudelft.nl
  8. Organization: Delft University of Technology, Dept. of Electrical Engineering
  9. References: <1992Nov16.133710.20417@r-node.gts.org> <1e8mhlINNcij@matt.ksu.ksu.edu> <1992Nov17.215558.3558@csd.uwe.ac.uk>
  10. Date: Thu, 19 Nov 1992 17:39:49 GMT
  11. Lines: 27
  12.  
  13. root@slave.uwe.ac.uk (Operator (Phil/Dylan)) writes:
  14.  
  15. >In article <1e8mhlINNcij@matt.ksu.ksu.edu>, probreak@matt.ksu.ksu.edu (James
  16. >Michael Chacon) writes:
  17. >|> tfoley@r-node.gts.org (Tim Foley) writes:
  18. >|> 
  19. >|> > 
  20. >|> >   Logged in as *anyone* I can delete *almosy any file* with the rm
  21. >|> >command, it just comes up and asks 'override mode 0600' or whatever
  22. >|> >and away it goes!  I was able to delete copies of my passwd and inittab
  23.  
  24. How about checking the permissions on the directories. If they are
  25. write for everybody, you are according to standard unix conventions
  26. allowed to delete files that you don't need access to. 
  27.  
  28. I.e. 
  29. ls -ld /tmp/file /tmp
  30. drwxrwxrwx   5 root     root          576 Nov 19 18:38 /tmp
  31. -rw-------   1 rogier   users           0 Nov 19 18:38 file
  32.  
  33. In this case anybody can delete "file" either by answering yes to the
  34. override question or specifying -f on the command line.
  35.  
  36.                     Roger
  37. -- 
  38. ****   a 486 in V86 mode is like a VW buggy with a 6 litre V12 motor.  ****
  39. EMail:  wolff@duteca.et.tudelft.nl   ** Tel  +31-15-783644 or +31-15-142371
  40.