Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130226222723.GA13610@hunt>
Date: Tue, 26 Feb 2013 14:27:23 -0800
From: Seth Arnold <seth.arnold@...onical.com>
To: oss-security@...ts.openwall.com
Subject: Re: CVE request: psi+ stores the cache file as
 world-readable

On Tue, Feb 26, 2013 at 11:04:24PM +0100, Agostino Sarubbo wrote:
> Psi+, a fork of psi, stores its files in ~/.cache/psi+ as world-readable.
> 
> ~/.cache $ ls -la psi+/
> total 52
> drwxr-xr-x 5 ago ago  4096 feb 25 09:41 .
> drwx------ 5 ago ago  4096 feb 24 23:58 ..

It appears my ~/.cache and your ~/.cache are mode 0700. Directories
underneath are already unaccessible by other users, except if one of your
programs passes a filedescriptor to a directory to another user's process
(say, cwd is in ~/.cache/psi+ and then executes a setuid program, or
uses unix(7) SCM_RIGHTS to pass a directory file descriptor to another
program).

Are there environments where ~/.cache isn't 0700 by default?

Thanks

Download attachment "signature.asc" of type "application/pgp-signature" (491 bytes)

Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.