GLSA Bodhisattva
Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
Posted: Mon Sep 20, 2004 4:29 pm Post subject: [ GLSA 200409-24 ] Foomatic: Arbitrary command execution in |
|
|
Gentoo Linux Security Advisory
Title: Foomatic: Arbitrary command execution in foomatic-rip filter (GLSA 200409-24)
Severity: high
Exploitable: remote
Date: September 20, 2004
Bug(s): #64166
ID: 200409-24
Synopsis
The foomatic-rip filter in foomatic-filters contains a vulnerability which may allow arbitrary command execution on the print server.
Background
Foomatic is a system for connecting printer drivers with spooler systems such as CUPS and LPD. The foomatic-filters package contains wrapper scripts which are designed to be used with Foomatic.
Affected Packages
Package: net-print/foomatic
Vulnerable: <= 3.0.1
Unaffected: >= 3.0.2
Architectures: All supported architectures
Package: net-print/foomatic-filters
Vulnerable: <= 3.0.1
Unaffected: >= 3.0.2
Architectures: All supported architectures
Description
There is a vulnerability in the foomatic-filters package. This vulnerability is due to insufficient checking of command-line parameters and environment variables in the foomatic-rip filter.
Impact
This vulnerability may allow both local and remote attackers to execute arbitrary commands on the print server with the permissions of the spooler (oftentimes the "lp" user).
Workaround
There is no known workaround at this time.
Resolution
All foomatic users should upgrade to the latest version: Code: | # emerge sync
# emerge -pv ">=net-print/foomatic-3.0.2"
# emerge ">=net-print/foomatic-3.0.2" | PLEASE NOTE: You should update foomatic, instead of foomatic-filters. This will help to ensure that all other foomatic components remain functional.
References
Foomatic Announcement
Mandrakesoft Security Advisory
CAN 2004-0801
Last edited by GLSA on Wed Apr 08, 2009 4:16 am; edited 3 times in total |
|