home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / security / misc / 760 < prev    next >
Encoding:
Text File  |  1992-07-21  |  1.8 KB  |  41 lines

  1. Newsgroups: comp.security.misc
  2. Path: sparky!uunet!haven.umd.edu!wam.umd.edu!ignatz
  3. From: ignatz@wam.umd.edu (Mark J. Sienkiewicz)
  4. Subject: Re: root-owned world-writable files
  5. Message-ID: <1992Jul21.220232.14105@wam.umd.edu>
  6. Sender: usenet@wam.umd.edu (USENET News system)
  7. Nntp-Posting-Host: rac2.wam.umd.edu
  8. Organization: University of Maryland, College Park
  9. References: <62524@cup.portal.com>
  10. Date: Tue, 21 Jul 1992 22:02:32 GMT
  11. Lines: 28
  12.  
  13. In article <62524@cup.portal.com> VESOFT@cup.portal.com (Michael D Hensley) writes:
  14. >COPS doesn't seem to report ALL root-owned world-writable files.
  15. >
  16. >Agree/disagree/discussion: Any root-owned world-writable file should be
  17. >considered a potential security loophole.
  18.  
  19. There is a good argument for both sides:
  20.  
  21. Disagree - It is only a security hole if it is a program that somebody
  22. (root or otherwise) will run or if it contains data that you trust for
  23. system security.  If I make /tmp/junk in single user mode and then
  24. leave it there world writeable, it is only a hole if it is also readable
  25. and contains data you don't want to get out.
  26.  
  27. Agree - _Any_ world writeable file is a de-facto security hole because
  28. any random user can change it.  For example, /users/fred/.login is
  29. a security hole if it is world writeable.  /users/fred/phone_numbers
  30. is also a form of security hole, since by writing to it, I could
  31. probably cause Fred to make telephone calls to the wrong people.
  32.  
  33. btw.. beware of things that are supposed to be world writeable: e.g.
  34. on many machines, /usr/dict/spellhist is world writeable.  (It collects
  35. lists of words that people spell wrong.  It has no special security
  36. because you don't really _care_ if it gets trashed.  All it is good for
  37. is identifying words that _might_ belong in the dictionary.  This in itself
  38. could be a security hole, if you have people spell-checking documents
  39. that contain sensitive information.)
  40.  
  41.