ClamAV cli_gentempfd() symlink

clamav-cligentempfd-symlink (39335) The risk level is classified as MediumMedium Risk

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.

Platforms Affected:

  • Clam Anti-Virus, ClamAV 0.92
  • Debian, Debian Linux 4.0
  • Gentoo, Linux
  • MandrakeSoft, Mandrake Linux 2007.1
  • MandrakeSoft, Mandrake Linux 2007.1 X86_64
  • MandrakeSoft, Mandrake Linux 2008.0 X86_64
  • MandrakeSoft, Mandrake Linux 2008.0
  • MandrakeSoft, Mandrake Linux 2008.1 X86_64
  • MandrakeSoft, Mandrake Linux 2008.1
  • MandrakeSoft, Mandrake Linux Corporate Server 3.0
  • MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
  • MandrakeSoft, Mandrake Linux Corporate Server 4.0
  • MandrakeSoft, Mandrake Linux Corporate Server 4.0 X86_64
  • 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, SUSE Linux Enterprise Server 10 SP1
  • Novell, SUSE Linux Enterprise Server 10
  • SuSE, SLE SDK 10
  • SuSE, SuSE SLES 9

Remedy:

Upgrade to the latest version of ClamAV (0.92.1 or later), available from the Clam AntiVirus Web site. See References.

Consequences:

File Manipulation

References:

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

Return to the main page