🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.security.misc
Article #139

Re: root-owned world-writable files

#139
From: John C. Fowler
Date: Tue, 21 Jul 1992 20:10
18 lines
1290 bytes
In article <62524@cup.portal.com> VESOFT@cup.portal.com (Michael D Hensley) writes:
>Agree/disagree/discussion: Any root-owned world-writable file should be
>considered a potential security loophole.
>What do you think?

Only if the system trusts the contents of the file, or root executes it,
or the uid or gid bit is set (on those weird variations of UNIX that don't
clear the bits when the file is modified).  Otherwise, what could you
possibly do that would create a security problem, just because the file is
owned by root and not, say, nobody?

(I am aware that the file could be used to get around quotas, if applicable,
but I don't really consider that a security loophole.  The worst a user could
do is fill up the file system, but that results in no permanent damage.
Just one less user.  :-))

-- 
John C. Fowler, jfowler@lanl.gov
Technical Details
Message-ID: <1992Jul21.201056.662@newshost.lanl.gov>
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!cs.utexas.edu!hellgate.utah.edu!lanl!beta.lanl.gov!jfowler
References: <62524@cup.portal.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.security.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!cs.utexas.edu!hellgate.utah.edu!lanl!beta.lanl.gov!jfowler
From: jfowler@beta.lanl.gov (John C. Fowler)
Subject: Re: root-owned world-writable files
Message-ID: <1992Jul21.201056.662@newshost.lanl.gov>
Sender: news@newshost.lanl.gov
Organization: Los Alamos National Laboratory
References: <62524@cup.portal.com>
Date: Tue, 21 Jul 1992 20:10:56 GMT
Lines: 18