Gentoolkit qpkg utility symlink attack
| gentoolkit-symlink (17968) |
Description:
The qpkg utility in Gentoolkit could allow a local attacker to launch a symlink attack. The qpkg utility creates insecure temporary files in the /tmp directory with predictable file names. A local attacker could use this vulnerability to launch a symlink attack by creating a symbolic link from a temporary file, which could allow the attacker to create or overwrite files on the system with privileges of the user running the script.
Consequences:
File Manipulation
Remedy:
For Gentoo Linux:
Upgrade to the latest gentoolkit (0.2.0_pre10-r1, 0.2.0_pre8-r1 or later), as listed in GLSA 200411-13 . See References.
References:
- Bugzilla Bug 68846 : app-portage/gentoolkit / qpkg: symlink attack vulnerability .
- KarkomaOnline Web site: qpkg, the Gentoo query package tool.
- BID-11617: Gentoo Gentoolkit QPKG Insecure Temporary File Creation Vulnerability
- CVE-2004-1108: qpkg in Gentoolkit 0.2.0_pre10 and earlier allows local users to overwrite arbitrary files via a symlink attack on a temporary directory.
- GLSA-200411-13: Portage, Gentoolkit: Temporary file vulnerabilities
- SA13108: Gentoo Portage/Gentoolkit Insecure Temporary File Creation
Platforms Affected:
- Gentoo Linux
Reported:
Nov 08, 2004
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
