Zsh difflog.pl symlink
| zsh-difflog-symlink (38812) |
Description:
Zsh could allow a local attacker to launch a symlink attack. The difflog.pl script creates insecure temporary files. A local attacker could exploit this vulnerability by creating a symbolic link from a temporary file to other files on the system using the insecure difflog.pl script which would allow the attacker to overwrite or delete arbitrary files on the system with elevated privileges.
Platforms Affected:
- Geoff Wing, Zsh 4.3.4 and prior
Remedy:
No remedy available as of July 4, 2009.
Consequences:
File Manipulation
References:
- Gentoo Bugzilla Bug 201022, app-shells/zsh insecure temporary file creation (CVE requested) at https://bugs.gentoo.org/show_bug.cgi?id=201022.
- Zsh Web site, Zsh at http://www.zsh.org/.
- BID-26674: Zsh Insecure Temporary File Creation Vulnerability
- CVE-2007-6209: Util/difflog.pl in zsh 4.3.4 allows local users to overwrite arbitrary files via a symlink attack on temporary files.
- SA27899: Zsh difflog.pl Insecure Temporary Files
Reported:
Dec 02, 2007
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
