6.5med

CVE-2017-14604

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 w…

Published 9 y ago · modified 4 mo ago · JSON

CVSS
6.5
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
2.5%
percentile 85%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

2.47% probability of exploitation in the next 30 days, higher than 85% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.16.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
NVD2.04.0AV:N/AC:L/Au:S/C:N/I:P/A:N

Classification

Weakness
  • CWE-20 Improper Input Validation

References

  • github.com /freedomofpress/securedrop/issues/2238 · x_refsource_MISC, x_transferred
  • bugs.debian.org /cgi-bin/bugreport.cgi?bug=860268 · x_refsource_MISC, x_transferred
  • github.com /GNOME/nautilus/commit/1630f53481f445ada0a455e9979236d31a8d3bb0 · x_refsource_MISC, x_transferred
  • bugzilla.gnome.org /show_bug.cgi?id=777991 · x_refsource_MISC, x_transferred
  • securityfocus.com /bid/101012 · vdb-entry, x_refsource_BID, x_transferred
  • debian.org /security/2017/dsa-3994 · vendor-advisory, x_refsource_DEBIAN, x_transferred
  • github.com /GNOME/nautilus/commit/bc919205bf774f6af3fa7154506c46039af5a69b · x_refsource_MISC, x_transferred
  • micahflee.com /2017/04/breaking-the-security-model-of-subgraph-os/ · x_refsource_MISC, x_transferred
  • access.redhat.com /errata/RHSA-2018:0223 · vendor-advisory, x_refsource_REDHAT, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.