Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 27 Feb 2013 07:41:28 +0400
From: gremlin@...mlin.ru
To: oss-security@...ts.openwall.com
Subject: Re: CVE request: psi+ stores the cache file as world-readable

On 26-Feb-2013 23:04:24 +0100, Agostino Sarubbo wrote:

 > Psi+, a fork of psi, stores its files in ~/.cache/psi+ as
 > world-readable.

That's normal - users' home directories are normally accessible
only by users themselves, and never by othe users:

gremlin@...n:~ > ls -ld .
drwx-----x 47 gremlin users 20480 2013-02-26 17:48 ./

This is the most loosy home directory mode I use - that's for
accessing ~/www by httpd. Even there I use umask 027 and at
other (non-http) servers it's 077.

Also, please check the umask setting in this case - I guess
psi+ respects it when creating files.


-- 
Alexey V. Vissarionov aka Gremlin from Kremlin <gremlin ПРИ gremlin ТЧК ru>
GPG key ID: 0xEF3B1FA8, keyserver: hkp://subkeys.pgp.net
GPG key fingerprint: 8832 FE9F A791 F796 8AC9 6E4E 909D AC45 EF3B 1FA8

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.