Bug 1490872 (CVE-2017-14604) - CVE-2017-14604 nautilus: Insufficient validation of trust of .desktop files with execute permission
Summary: CVE-2017-14604 nautilus: Insufficient validation of trust of .desktop files w...
Status: CLOSED ERRATA
Alias: CVE-2017-14604
Product: Security Response
Classification: Other
Component: vulnerability   
(Show other bugs)
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=moderate,public=20170131,repor...
Keywords: Security
Depends On: 1490873 1490948 1490949
Blocks: 1490875
TreeView+ depends on / blocked
 
Reported: 2017-09-12 12:08 UTC by Andrej Nemec
Modified: 2018-02-12 11:27 UTC (History)
9 users (show)

Fixed In Version: nautilus 3.24
Doc Type: If docs needed, set a value
Doc Text:
An untrusted .desktop file with executable permission set could choose its displayed name and icon, and execute commands without warning when opened by the user. An attacker could use this flaw to trick a user into opening a .desktop file disguised as a document, such as a PDF, and execute arbitrary commands.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-01-25 14:51:54 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0223 normal SHIPPED_LIVE Moderate: nautilus security update 2018-01-25 19:43:34 UTC

Description Andrej Nemec 2017-09-12 12:08:14 UTC
Nautilus trusts desktop files that have the executable bit set, and doesn't replace the displayed icon or the displayed name until it's trusted, which prevents from running random programs by a malicious desktop file.

However, the executable permission is preserved if the desktop file comes from a compressed file. A maliciously crafted file opened by the user could result in code execution. 

Upstream issue:

https://bugzilla.gnome.org/show_bug.cgi?id=777991

Upstream patch:

https://bugzilla.gnome.org/attachment.cgi?id=345047&action=diff

Comment 1 Andrej Nemec 2017-09-12 12:08:40 UTC
Created nautilus tracking bugs for this issue:

Affects: fedora-25 [bug 1490873]

Comment 3 errata-xmlrpc 2018-01-25 14:44:55 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2018:0223 https://access.redhat.com/errata/RHSA-2018:0223


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