Gentoo Logo

fbida: Insecure temporary file creation


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200604-13 / fbida
Release Date April 23, 2006
Latest Revision April 23, 2006: 01
Impact normal
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
media-gfx/fbida < 2.03-r3 >= 2.03-r3 All supported architectures

Related bugreports: #129470


fbida is vulnerable to linking attacks, potentially allowing a local user to overwrite arbitrary files.

2.  Impact Information


fbida is a collection of image viewers and editors for the framebuffer console and X11.


Jan Braun has discovered that the "fbgs" script provided by fbida insecurely creates temporary files in the "/var/tmp" directory.


A local attacker could create links in the temporary file directory, pointing to a valid file somewhere on the filesystem. When an affected script is called, this could result in the file being overwritten with the rights of the user running the script.

3.  Resolution Information


There is no known workaround at this time.


All fbida users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/fbida-2.03-r3"

4.  References


Page updated April 23, 2006

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.