Gentoo Logo

HPLIP: Privilege escalation

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200710-26 / hplip
Release Date October 24, 2007
Latest Revision October 24, 2007: 01
Impact high
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
net-print/hplip < 2.7.9-r1 revision >= 1.7.4a-r2, >= 2.7.9-r1 All supported architectures

Related bugreports: #195565

Synopsis

The hpssd daemon might allow local attackers to execute arbitrary commands with root privileges.

2.  Impact Information

Background

The Hewlett-Packard Linux Imaging and Printing system (HPLIP) provides drivers for HP's inkjet and laser printers, scanners and fax machines. It integrates with the Common UNIX Printing System (CUPS) and Scanner Access Now Easy (SANE).

Description

Kees Cook from the Ubuntu Security team discovered that the hpssd daemon does not correctly validate user supplied data before passing it to a "popen3()" call.

Impact

A local attacker may be able to exploit this vulnerability by sending a specially crafted request to the hpssd daemon to execute arbitrary commands with the privileges of the user running hpssd, usually root.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All HPLIP users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose "net-print/hplip"

4.  References



Print

Page updated October 24, 2007

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

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