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.6AuthenticationNone 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

OVAL Definitions

Definition Id: oval:org.mitre.oval:def:22161
 
Oval ID: oval:org.mitre.oval:def:22161
Title: RHSA-2011:1109: foomatic security update (Moderate)
Description: foomatic-rip-hplip in HP Linux Imaging and Printing (HPLIP) 3.11.5 allows remote attackers to execute arbitrary code via a crafted *FoomaticRIPCommandLine field in a .ppd file.
Family: unix Class: patch
Reference(s): RHSA-2011:1109-01
CESA-2011:1109
CVE-2011-2697
Version: 4
Platform(s): Red Hat Enterprise Linux 5
CentOS Linux 5
Product(s): foomatic
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:22771
 
Oval ID: oval:org.mitre.oval:def:22771
Title: ELSA-2011:1109: foomatic security update (Moderate)
Description: foomatic-rip-hplip in HP Linux Imaging and Printing (HPLIP) 3.11.5 allows remote attackers to execute arbitrary code via a crafted *FoomaticRIPCommandLine field in a .ppd file.
Family: unix Class: patch
Reference(s): ELSA-2011:1109-01
CVE-2011-2697
Version: 3
Platform(s): Oracle Linux 4
Oracle Linux 5
Product(s):
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:21595
 
Oval ID: oval:org.mitre.oval:def:21595
Title: RHSA-2011:1110: foomatic security update (Moderate)
Description: foomaticrip.c in foomatic-rip in foomatic-filters in Foomatic 4.0.6 allows remote attackers to execute arbitrary code via a crafted *FoomaticRIPCommandLine field in a .ppd file, a different vulnerability than CVE-2011-2697.
Family: unix Class: patch
Reference(s): RHSA-2011:1110-01
CVE-2011-2964
Version: 4
Platform(s): Red Hat Enterprise Linux 6
Product(s): foomatic
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:23286
 
Oval ID: oval:org.mitre.oval:def:23286
Title: ELSA-2011:1110: foomatic security update (Moderate)
Description: foomaticrip.c in foomatic-rip in foomatic-filters in Foomatic 4.0.6 allows remote attackers to execute arbitrary code via a crafted *FoomaticRIPCommandLine field in a .ppd file, a different vulnerability than CVE-2011-2697.
Family: unix Class: patch
Reference(s): ELSA-2011:1110-01
CVE-2011-2964
Version: 3
Platform(s): Oracle Linux 6
Product(s):
Definition Synopsis:

CPE : Common Platform Enumeration

TypeDescriptionCount
Application1
Application1

OpenVAS Exploits

DateDescription
2012-07-30Name : CentOS Update for foomatic CESA-2011:1109 centos4 x86_64
File : nvt/gb_CESA-2011_1109_foomatic_centos4_x86_64.nasl
2012-07-30Name : CentOS Update for foomatic CESA-2011:1109 centos5 x86_64
File : nvt/gb_CESA-2011_1109_foomatic_centos5_x86_64.nasl
2012-07-09Name : RedHat Update for foomatic RHSA-2011:1110-01
File : nvt/gb_RHSA-2011_1110-01_foomatic.nasl
2012-03-12Name : Gentoo Security Advisory GLSA 201203-07 (foomatic-filters)
File : nvt/glsa_201203_07.nasl
2012-02-11Name : Debian Security Advisory DSA 2380-1 (foomatic-filters)
File : nvt/deb_2380_1.nasl
2011-09-27Name : Fedora Update for foomatic FEDORA-2011-11196
File : nvt/gb_fedora_2011_11196_foomatic_fc15.nasl
2011-09-27Name : Fedora Update for foomatic FEDORA-2011-11205
File : nvt/gb_fedora_2011_11205_foomatic_fc14.nasl
2011-09-23Name : CentOS Update for foomatic CESA-2011:1109 centos5 i386
File : nvt/gb_CESA-2011_1109_foomatic_centos5_i386.nasl
2011-08-27Name : Ubuntu Update for foomatic-filters USN-1194-1
File : nvt/gb_ubuntu_USN_1194_1.nasl
2011-08-19Name : Fedora Update for foomatic FEDORA-2011-9554
File : nvt/gb_fedora_2011_9554_foomatic_fc15.nasl
2011-08-19Name : Fedora Update for foomatic FEDORA-2011-9575
File : nvt/gb_fedora_2011_9575_foomatic_fc14.nasl
2011-08-18Name : Mandriva Update for foomatic-filters MDVSA-2011:125 (foomatic-filters)
File : nvt/gb_mandriva_MDVSA_2011_125.nasl
2011-08-18Name : CentOS Update for foomatic CESA-2011:1109 centos4 i386
File : nvt/gb_CESA-2011_1109_foomatic_centos4_i386.nasl
2011-08-12Name : RedHat Update for foomatic RHSA-2011:1109-01
File : nvt/gb_RHSA-2011_1109-01_foomatic.nasl

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...

Nessus® Vulnerability Scanner

DateDescription
2013-07-12Name : The remote Oracle Linux host is missing a security update.
File : oraclelinux_ELSA-2011-1109.nasl - Type : ACT_GATHER_INFO
2013-07-12Name : The remote Oracle Linux host is missing a security update.
File : oraclelinux_ELSA-2011-1110.nasl - Type : ACT_GATHER_INFO
2012-08-01Name : The remote Scientific Linux host is missing a security update.
File : sl_20110801_foomatic_on_SL4_x.nasl - Type : ACT_GATHER_INFO
2012-08-01Name : The remote Scientific Linux host is missing a security update.
File : sl_20110801_foomatic_on_SL6_x.nasl - Type : ACT_GATHER_INFO
2012-03-06Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-201203-07.nasl - Type : ACT_GATHER_INFO
2012-01-12Name : The remote Debian host is missing a security-related update.
File : debian_DSA-2380.nasl - Type : ACT_GATHER_INFO
2011-12-13Name : The remote SuSE 10 host is missing a security-related patch.
File : suse_foomatic-filters-7677.nasl - Type : ACT_GATHER_INFO
2011-08-26Name : The remote SuSE 11 host is missing one or more security updates.
File : suse_11_hplip-110812.nasl - Type : ACT_GATHER_INFO
2011-08-23Name : The remote Ubuntu host is missing a security-related patch.
File : ubuntu_USN-1194-1.nasl - Type : ACT_GATHER_INFO
2011-08-17Name : The remote Fedora host is missing a security update.
File : fedora_2011-9554.nasl - Type : ACT_GATHER_INFO
2011-08-17Name : The remote Fedora host is missing a security update.
File : fedora_2011-9575.nasl - Type : ACT_GATHER_INFO
2011-08-15Name : The remote CentOS host is missing a security update.
File : centos_RHSA-2011-1109.nasl - Type : ACT_GATHER_INFO
2011-08-15Name : The remote Mandriva Linux host is missing a security update.
File : mandriva_MDVSA-2011-125.nasl - Type : ACT_GATHER_INFO
2011-08-12Name : The remote SuSE 11 host is missing a security update.
File : suse_11_foomatic-filters-110808.nasl - Type : ACT_GATHER_INFO
2011-08-12Name : The remote SuSE 9 host is missing a security-related patch.
File : suse9_12818.nasl - Type : ACT_GATHER_INFO
2011-08-12Name : The remote SuSE 10 host is missing a security-related patch.
File : suse_foomatic-filters-7676.nasl - Type : ACT_GATHER_INFO
2011-08-02Name : The remote Red Hat host is missing a security update.
File : redhat-RHSA-2011-1109.nasl - Type : ACT_GATHER_INFO
2011-08-02Name : The remote Red Hat host is missing one or more security updates.
File : redhat-RHSA-2011-1110.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
DateInformations
2014-02-17 11:37:14
  • Multiple Updates