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...
Alias: CVE-2017-14604
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1490873 1490948 1490949
Blocks: 1490875
TreeView+ depends on / blocked
Reported: 2017-09-12 12:08 UTC by Andrej Nemec
Modified: 2019-09-29 14:22 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.
Clone Of:
Last Closed: 2018-01-25 14:51:54 UTC

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0223 0 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:


Upstream patch:


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.