Bug 1035244 - hplip: insecure temporary file handling in pkit.py [fedora-all]
Summary: hplip: insecure temporary file handling in pkit.py [fedora-all]
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip
Version: 19
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: CVE-2013-6402
TreeView+ depends on / blocked
 
Reported: 2013-11-27 11:14 UTC by Ratul Gupta
Modified: 2014-01-27 08:53 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Release Note
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-28 05:35:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ratul Gupta 2013-11-27 11:14:40 UTC
This is an automatically created tracking bug!  It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.

For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.

For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs

When creating a Bodhi update request, please use the bodhi submission link
noted in the next comment(s).  This will include the bug IDs of this
tracking bug as well as the relevant top-level CVE bugs.

Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes field when available.

Please note: this issue affects multiple supported versions of Fedora.
Only one tracking bug has been filed; please ensure that it is only closed
when all affected versions are fixed.

[bug automatically created by: add-tracking-bugs]

Comment 1 Ratul Gupta 2013-11-27 11:14:54 UTC
Please use the following update submission link to create the Bodhi
request for this issue as it contains the top-level parent bug(s) as well
as this tracking bug.  This will ensure that all associated bugs get
updated when new packages are pushed to stable.

Please also ensure that the "Close bugs when update is stable" option
remains checked.

Bodhi update submission link:
https://admin.fedoraproject.org/updates/new/?type_=security&bugs=1035243,1035244

Comment 2 Tim Waugh 2013-11-27 13:02:16 UTC
In practice I don't think this is exploitable in Fedora.

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

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


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