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

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2017-09-20T08:00:00

Updated: 2024-08-05T19:34:39.448Z

Reserved: 2017-09-20T00:00:00

Link: CVE-2017-14604

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2017-09-20T08:29:00.270

Modified: 2024-11-21T03:13:11.320

Link: CVE-2017-14604

cve-icon Redhat

Severity : Moderate

Publid Date: 2017-01-31T00:00:00Z

Links: CVE-2017-14604 - Bugzilla