Bug 1490872 - (CVE-2017-14604) CVE-2017-14604 nautilus: Insufficient validation of trust of .desktop files with execute permission
CVE-2017-14604 nautilus: Insufficient validation of trust of .desktop files w...
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
: Security
Depends On: 1490873 1490948 1490949
Blocks: 1490875
  Show dependency treegraph
Reported: 2017-09-12 08:08 EDT by Andrej Nemec
Modified: 2018-02-12 06:27 EST (History)
9 users (show)

See Also:
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:
Last Closed: 2018-01-25 09:51:54 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
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 14:43:34 EST

  None (edit)
Description Andrej Nemec 2017-09-12 08:08:14 EDT
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 08:08:40 EDT
Created nautilus tracking bugs for this issue:

Affects: fedora-25 [bug 1490873]
Comment 3 errata-xmlrpc 2018-01-25 09:44:55 EST
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.