[UNIX] log4sh Insecure Temporary Files Creation Vulnerability
From: SecuriTeam (support_at_securiteam.com)
To: firstname.lastname@example.org Date: 6 Jul 2005 14:27:45 +0200
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
The SecuriTeam alerts list - Free, Accurate, Independent.
Get your security news from a reliable source.
- - - - - - - - -
log4sh Insecure Temporary Files Creation Vulnerability
" <http://forestent.com/products/log4sh/> Log4sh runs along the same lines
as the other excellent logging services from the Apache Software
Foundation. It adds to that list the ability to integrate powerful
logging capabilities into a shell script."
log4sh creates temporally files in an insecure way allowing local
attackers to gain elevated privileges.
* log4sh versions 1.2.5 and prior
The vulnerability is caused due to temporary files being created
insecurely. This can be exploited via a symlink attack, and in turn create
and/or overwrite arbitrary files with the privileges of the user running
the affected script.
361 grep "^log4sh\." $_file >$_tmpFile
26.05.05 - Discovered
09.06.05 - Vendor notified
27.06.05 - No response, Vendor Sec report (email@example.com)
04.07.05 - Disclosure
The original article can be found at:
Gentoo Bugs Reports: <http://bugs.gentoo.org/show_bug.cgi?id=94069 >
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: firstname.lastname@example.org
In order to subscribe to the mailing list, simply forward this email to: email@example.com
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.