ClamAV cli_gentempfd() symlink
| clamav-cligentempfd-symlink (39335) |
Description:
Clam AntiVirus (ClamAV) could allow a local attacker to launch a symlink attack. The cli_gentempfd() function creates files in the /tmp directory with predictable filenames, caused by a race condition. A local attacker could exploit this vulnerability by creating a symbolic link from a temporary file to other files on the system, which would allow the attacker to overwrite arbitrary files on the system with the privileges of the application.
*CVSS:
| Base Score: | 3.3 |
| Access Vector: | Local |
| Access Complexity: | Medium |
| Authentication: | None |
| Confidentiality Impact: | None |
| Integrity Impact: | Partial |
| Availability Impact: | Partial |
| Temporal Score: | 2.9 |
| Exploitability: | High |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
File Manipulation
Remedy:
Upgrade to the latest version of ClamAV (0.92.1 or later), available from the Clam AntiVirus Web site. See References.
References:
- Clam AntiVirus Web site: Clam AntiVirus.
- Clam AntiVirus Web site: Clam AntiVirus Download.
- Full-Disclosure Mailing List, Sun, 30 Dec 2007 01:06:04 +0100: TK53 Advisory #2: Multiple vulnerabilities in ClamAV.
- BID-27064: ClamAV Multiple Insecure File Handling and Scanner Bypass Vulnerabilities
- CVE-2007-6595: ClamAV 0.92 allows local users to overwrite arbitrary files via a symlink attack on (1) temporary files used by the cli_gentempfd function in libclamav/others.c or on (2) .ascii files used by sigtool, when utf16-decode is enabled.
- DSA-1497: clamav -- several vulnerabilities
- GLSA-200808-07: ClamAV: Multiple Denials of Service
- MDVSA-2008:088: Updated clamav packages fix multiple vulnerabilities
- SECTRACK ID: 1019148: Clam AntiVirus Unsafe File Access Lets Local Users Gain Elevated Privileges
- SUSE-SA:2008:024: clamav 0.93 security update
- VUPEN/ADV-2008-0606: Kolab Security Update Fixes ClamAV Code Execution Vulnerabilities
Platforms Affected:
- ClamAV ClamAV 0.92
- Debian Debian Linux 4.0
- Gentoo Linux
- MandrakeSoft Mandrake Linux 2007.1 X86_64
- MandrakeSoft Mandrake Linux 2007.1
- MandrakeSoft Mandrake Linux 2008.0 X86_64
- MandrakeSoft Mandrake Linux 2008.0
- MandrakeSoft Mandrake Linux 2008.1
- MandrakeSoft Mandrake Linux 2008.1 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 3.0
- MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 4.0
- Novell Linux POS 9
- Novell Open Enterprise Server
- Novell Open Enterprise Server
- Novell OpenSUSE 10.2
- Novell OpenSUSE 10.3
- Novell SLE SDK 10 SP1
- Novell SLE SDK 10
- Novell SUSE Linux Enterprise Server 10 SP1
- Novell SUSE Linux Enterprise Server 10
- SuSE SuSE SLES 9
Reported:
Dec 29, 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
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
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 IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
