CVE-2017-14604

Published: 20 September 2017

GNOME Nautilus before 3.23.90 allows attackers to spoof a file type by using the .desktop file extension, as demonstrated by an attack in which a .desktop file's Name field ends in .pdf but this file's Exec field launches a malicious "sh -c" command. In other words, Nautilus provides no UI indication that a file actually has the potentially unsafe .desktop extension; instead, the UI only shows the .pdf extension. One (slightly) mitigating factor is that an attack requires the .desktop file to have execute permission. The solution is to ask the user to confirm that the file is supposed to be treated as a .desktop file, and then remember the user's answer in the metadata::trusted field.

Priority

Low

CVSS 3 base score: 6.5

Status

Package Release Status
nautilus
Launchpad, Ubuntu, Debian
Upstream
Released (3.23.90)
Ubuntu 21.04 (Hirsute Hippo) Not vulnerable
(1:3.26.0-0ubuntu1)
Ubuntu 20.04 LTS (Focal Fossa) Not vulnerable
(1:3.26.0-0ubuntu1)
Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable
(1:3.26.0-0ubuntu1)
Ubuntu 16.04 ESM (Xenial Xerus) Needed

Ubuntu 14.04 ESM (Trusty Tahr) Does not exist
(trusty was needed)
Patches:
Upstream: https://github.com/GNOME/nautilus/commit/1630f53481f445ada0a455e9979236d31a8d3bb0