Subject: | still insecure /tmp usage in Mail::Audit? |
Date: | Sun, 27 May 2007 23:40:45 +0200 |
To: | bug-Mail-Audit [...] rt.cpan.org |
From: | Klaus Heinz <k.heinz-cpan [...] kh-22.de> |
[ I report this through by direct mail because the §$%§§$% bitcard
authentication is still broken after more than 10 months :-/ ]
Hi,
as far as I can see, one of the issues concerning temporary files reported
in the Debian BTS
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=344029
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=350954
is _not_ resolved in the latest version 2.218 of Mail::Audit (the issue
concerning MimeEntity.pm is fixed in 2.218, see also rt.cpan.org #1794).
It is still possible to create a symlink with a predictable name
(eg /tmp/1234-audit.log for user id 1234) pointing to some other file
and Mail::Audit will happily write to that file (in Audit.pm) when a
loglevel is specified but no filename for the log file.
I can reproduce the problem on NetBSD/i386 3.1, Perl 5.8.7 and
Mail::Audit 2.218.
ciao
Klaus Heinz