fbida fbgs /var/tmp symlink

fbida-fbgs-tmpdir-symlink (25729) The risk level is classified as MediumMedium Risk

Description:

fbida could allow a local attacker to launch a symlink attack. If the TMPDIR environment variable is not set, the fbgs script creates files in the /var/tmp directory insecurely. An attacker could exploit this vulnerability to overwrite arbitrary files on the system with the privileges of the user running the script.

Platforms Affected:

  • Debian, Debian Linux 3.0
  • Debian, Debian Linux 3.1
  • fbida Project, fbida 2.01
  • fbida Project, fbida 2.04
  • Gentoo, Linux

Remedy:

For Debian GNU/Linux:
Refer to DSA-1068-1 for patch, upgrade, or suggested workaround information. See References.

For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 2006-04-13 for patch, upgrade, or suggested workaround information. See References.

For other distributions:
Contact your vendor for patch or upgrade information.

Consequences:

File Manipulation

References:

  • Debian Bug report logs - #361370, fbgs: uses insecure tempfiles at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=361370.
  • BID-17436: Fbida FBGS Insecure Temporary File Creation Vulnerability
  • CVE-2006-1695: The fbgs script in the fbi package 2.01-1.4, when the TMPDIR environment variable is not defined, allows local users to overwrite arbitrary files via a symlink attack on temporary files in /var/tmp/fbps-[PID].
  • DSA-1068: fbi -- insecure temporary file
  • GLSA-200604-13: fbida: Insecure temporary file creation
  • SA19559: fbida fbgs Insecure Temporary File Creation Vulnerability
  • SUSE-SR:2006:019: SUSE Security Summary Report
  • VUPEN/ADV-2006-1281: fbida fbgs Script Insecure Temporary File Creation Vulnerability

Reported:

Apr 08, 2006

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