oss-sec mailing list archives

nvi crash recovery (was Re: [oss-security] Re: Security risk of server side text editing in general and vim.tiny specifically)


From: Hanno Böck <hanno () hboeck de>
Date: Fri, 3 Nov 2017 21:26:59 +0100

On Fri, 3 Nov 2017 11:12:43 -0700
Ian Zimmerman <itz () very loosely org> wrote:

How much of this (and the parallel thread of course) applies to nvi?

This is actually interesting:
nvi saves recovery files to /var/tmp/vi.recover and creates them with
600 permissions.
So all the problems discussed don't really apply here.
However the dir itself gets created by the first user using nvi. Not
sure if that causes any other problems (permissions are rwx for all and
sticky bit).

-- 
Hanno Böck
https://hboeck.de/

mail/jabber: hanno () hboeck de
GPG: FE73757FA60E4E21B937579FA5880072BBB51E42


Current thread: