Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1035243 - (CVE-2013-6402) CVE-2013-6402 hplip: insecure temporary file handling in pkit.py
CVE-2013-6402 hplip: insecure temporary file handling in pkit.py
Status: CLOSED NOTABUG
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20131009,reported=2...
: Security
Depends On: 1035244
Blocks: 1035247
  Show dependency treegraph
 
Reported: 2013-11-27 06:12 EST by Ratul Gupta
Modified: 2014-11-20 15:31 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-11-28 00:38:33 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Ratul Gupta 2013-11-27 06:12:51 EST
A temporary file handling flaw was found in hplip/pkit.py. Because a predicatable temporary filename is used, an attacker could use a symlink attack to overwrite an arbitrary file with the privileges of the process running hplip.

This is a different flaw than CVE-2013-0200.

References:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725876
Comment 1 Ratul Gupta 2013-11-27 06:15:01 EST
Created hplip tracking bugs for this issue:

Affects: fedora-all [bug 1035244]
Comment 3 Huzaifa S. Sidhpurwala 2013-11-28 00:33:49 EST
This issue has been assigned CVE-2013-6402 as per:
http://seclists.org/oss-sec/2013/q4/358
Comment 4 Huzaifa S. Sidhpurwala 2013-11-28 00:38:33 EST
Quoting from https://bugzilla.redhat.com/show_bug.cgi?id=1035244#c2

The affected code, which implements the BackendServer class, is shipped (base/pkit.py). However, it only does so if the "policy-kit" configuration variable is set to yes -- and that is not the default for Red Hat Enterprise Linux

Additionally, even if the configuration is changed, the BackendServer class is only instantiated in the pkservice.py module -- and this is explicitly *not* shipped

Statement:

Not Vulnerable. This issue does not affect the version of hplip as shipped with Red Hat Enterprise Linux 5 and 6. This issue does not affect the version of hplip3 as shipped with Red Hat Enterprise Linux 5.

Note You need to log in before you can comment on or make changes to this bug.