Bug 1035243 (CVE-2013-6402) - CVE-2013-6402 hplip: insecure temporary file handling in pkit.py
Summary: CVE-2013-6402 hplip: insecure temporary file handling in pkit.py
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2013-6402
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1035244
Blocks: 1035247
TreeView+ depends on / blocked
 
Reported: 2013-11-27 11:12 UTC by Ratul Gupta
Modified: 2021-02-17 07:08 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-28 05:38:33 UTC
Embargoed:


Attachments (Terms of Use)

Description Ratul Gupta 2013-11-27 11:12:51 UTC
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 11:15:01 UTC
Created hplip tracking bugs for this issue:

Affects: fedora-all [bug 1035244]

Comment 3 Huzaifa S. Sidhpurwala 2013-11-28 05:33:49 UTC
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 05:38:33 UTC
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.