lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sat, 3 Apr 2010 17:35:24 +1100
From: paul.szabo@...ney.edu.au
To: bugs@....dhs.org, thecrux@...il.com
Cc: full-disclosure@...ts.grok.org.uk
Subject: Re: FileCache: tmp file permission vulnerability.

Vladimir Lettiev <thecrux@...il.com> wrote:

>> Perl Cache-Cache-1.06 ... stores its default file cache
>> in /tmp with world read/write permissions. ...
>
> This is documented behaviour. You can override insecure default cache
> root and umask with options 'cache_root' and 'directory_umask':
> use Cache::FileCache;
> use File::Temp qw/ tempdir /;
> my $cache = new Cache::FileCache( {
>     'cache_root' => tempdir('CacheXXXXX'),
>     'directory_umask' => 077,
> } );

The default should be secure. Interested people, with intimate knowledge
of inner workings, might go to contortions and change to insecure.

Cheers, Paul

Paul Szabo   psz@...hs.usyd.edu.au   http://www.maths.usyd.edu.au/u/psz/
School of Mathematics and Statistics   University of Sydney    Australia

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ