<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200710-26">
  <title>HPLIP: Privilege escalation</title>
  <synopsis>
    The hpssd daemon might allow local attackers to execute arbitrary commands
    with root privileges.
  </synopsis>
  <product type="ebuild">hplip</product>
  <announced>2007-10-24</announced>
  <revised count="01">2007-10-24</revised>
  <bug>195565</bug>
  <access>local</access>
  <affected>
    <package name="net-print/hplip" auto="yes" arch="*">
      <unaffected range="rge">1.7.4a-r2</unaffected>
      <unaffected range="ge">2.7.9-r1</unaffected>
      <vulnerable range="lt">2.7.9-r1</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    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).
    </p>
  </background>
  <description>
    <p>
    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.
    </p>
  </description>
  <impact type="high">
    <p>
    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.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All HPLIP users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "net-print/hplip"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-5208">CVE-2007-5208</uri>
  </references>
  <metadata tag="requester" timestamp="2007-10-21T20:50:24Z">
    rbu
  </metadata>
  <metadata tag="bugReady" timestamp="2007-10-21T20:51:40Z">
    rbu
  </metadata>
  <metadata tag="submitter" timestamp="2007-10-21T21:46:02Z">
    rbu
  </metadata>
</glsa>
