GLSA Advocate
Joined: 12 May 2004 Posts: 2663
|
Posted: Wed Aug 23, 2006 8:26 pm Post subject: [ GLSA 200608-22 ] fbida: Arbitrary command execution |
|
|
Gentoo Linux Security Advisory
Title: fbida: Arbitrary command execution (GLSA 200608-22)
Severity: normal
Exploitable: remote
Date: August 23, 2006
Bug(s): #141684
ID: 200608-22
Synopsis
The fbgs script provided by fbida allows the execution of arbitrary code.
Background
fbida is a collection of image viewers and editors for the framebuffer console and X11. fbgs is a PostScript and PDF viewer for the linux framebuffer console.
Affected Packages
Package: media-gfx/fbida
Vulnerable: < 2.03-r4
Unaffected: >= 2.03-r4
Architectures: All supported architectures
Description
Toth Andras has discovered a typographic mistake in the "fbgs" script, shipped with fbida if the "fbcon" and "pdf" USE flags are both enabled. This script runs "gs" without the -dSAFER option, thus allowing a PostScript file to execute, delete or create any kind of file on the system.
Impact
A remote attacker can entice a vulnerable user to view a malicious PostScript or PDF file with fbgs, which may result with the execution of arbitrary code.
Workaround
There is no known workaround at this time.
Resolution
All fbida users with the "fbcon" and "pdf" USE flags both enabled should upgrade to the latest version: Code: | # emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/fbida-2.03-r4" |
References
CVE-2006-3119 |
|