Vulnerability Details : CVE-2017-14604
Potential exploit
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.
Vulnerability category: Input validation
Products affected by CVE-2017-14604
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:nautilus:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2017-14604
0.39%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 57 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2017-14604
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.0
|
MEDIUM | AV:N/AC:L/Au:S/C:N/I:P/A:N |
8.0
|
2.9
|
NIST | |
6.5
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
2.8
|
3.6
|
NIST |
CWE ids for CVE-2017-14604
-
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.Assigned by: nvd@nist.gov (Primary)
References for CVE-2017-14604
-
https://access.redhat.com/errata/RHSA-2018:0223
RHSA-2018:0223 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
http://www.securityfocus.com/bid/101012
GNOME Nautilus CVE-2017-14604 Arbitrary Command Execution VulnerabilityThird Party Advisory;VDB Entry
-
https://bugzilla.gnome.org/show_bug.cgi?id=777991
Bug 777991 – Nautilus hides filename for .desktop files with execute permissionIssue Tracking;Vendor Advisory
-
https://micahflee.com/2017/04/breaking-the-security-model-of-subgraph-os/
Breaking the Security Model of Subgraph OSExploit;Third Party Advisory
-
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860268
#860268 - nautilus: CVE-2017-14604: .desktop files can hide malware in Nautilus - Debian Bug report logsIssue Tracking;Third Party Advisory
-
https://github.com/GNOME/nautilus/commit/1630f53481f445ada0a455e9979236d31a8d3bb0
mime-actions: use file metadata for trusting desktop files · GNOME/nautilus@1630f53 · GitHubIssue Tracking;Patch;Third Party Advisory
-
https://github.com/GNOME/nautilus/commit/bc919205bf774f6af3fa7154506c46039af5a69b
release: prepare for 3.23.90 · GNOME/nautilus@bc91920 · GitHubIssue Tracking;Patch;Third Party Advisory
-
https://github.com/freedomofpress/securedrop/issues/2238
Investigate potential attempt to compromise SVS · Issue #2238 · freedomofpress/securedrop · GitHubThird Party Advisory
-
http://www.debian.org/security/2017/dsa-3994
Debian -- Security Information -- DSA-3994-1 nautilusThird Party Advisory
Jump to