Executive Summary

Summary
Titlefoomatic-filters: User-assisted execution of arbitrary code
Informations
NameGLSA-201203-07First vendor Publication2012-03-06
VendorGentooLast vendor Modification2012-03-06
Severity (Vendor) NormalRevisionN/A

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:M/Au:N/C:P/I:P/A:P)
Cvss Base Score6.8Attack RangeNetwork
Cvss Impact Score6.4Attack ComplexityMedium
Cvss Expoit Score8.6AuthentificationNone Required
Calculate full CVSS 2.0 Vectors scores

Detail

Synopsis

A vulnerability in foomatic-filters could result in the execution of arbitrary code.

Background

The foomatic-filters package contains wrapper scripts which are designed to be used with Foomatic.

Description

The foomatic-rip filter improperly handles command-line arguments, including those issued by FoomaticRIPCommandLine fields in PPD files.

Impact

A remote attacker could entice a user to open a specially crafted PPD file, possibly resulting in execution of arbitrary code with the privileges of the system user "lp".

Workaround

There is no known workaround at this time.

Resolution

All foomatic-filters users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot -v ">=net-print/foomatic-filters-4.0.9"

References

[ 1 ] CVE-2011-2697 : http://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-2697
[ 2 ] CVE-2011-2964 : http://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-2964

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-201203-07.xml

Original Source

Url : http://security.gentoo.org/glsa/glsa-201203-07.xml

CWE : Common Weakness Enumeration

idName
CWE-94Failure to Control Generation of Code ('Code Injection')
CWE-20Improper Input Validation

CPE : Common Platform Enumeration

TypeDescriptionCount
Application1
Application1

Open Source Vulnerability Database (OSVDB)

idDescription
74206Foomatic foomatic-filters foomatic-rip foomaticrip.c PPD File *FoomaticRIPCom...
74205HP Linux Imaging and Printing (HPLIP) foomatic-rip-hplip PPD File *FoomaticRI...