CVE-2017-14604
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2017-14604
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2017-14604.html
Vendor advisory: cve@mitre.org — https://github.com/GNOME/nautilus/commit/bc919205bf774f6af3fa7154506c46039af5a69b
Vendor advisory: cve@mitre.org — https://github.com/GNOME/nautilus/commit/1630f53481f445ada0a455e9979236d31a8d3bb0
Vendor advisory: cve@mitre.org — https://bugzilla.gnome.org/show_bug.cgi?id=777991
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | 8.0 | affected | |
| debian | 9.0 | affected | |
| debian | 10.0 | affected | |
| debian | bookworm | fixed | 3.25.90-1 |
| debian | bullseye | fixed | 3.25.90-1 |
| debian | forky | fixed | 3.25.90-1 |
| debian | sid | fixed | 3.25.90-1 |
| debian | trixie | fixed | 3.25.90-1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| gnome | nautilus | {"endExcluding":"3.23.90"} | 3.23.90 |
References
- http://www.debian.org/security/2017/dsa-3994
- http://www.securityfocus.com/bid/101012
- https://access.redhat.com/errata/RHSA-2018:0223
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860268
- https://bugzilla.gnome.org/show_bug.cgi?id=777991
- https://github.com/GNOME/nautilus/commit/1630f53481f445ada0a455e9979236d31a8d3bb0
- https://github.com/GNOME/nautilus/commit/bc919205bf774f6af3fa7154506c46039af5a69b
- https://github.com/freedomofpress/securedrop/issues/2238
- https://micahflee.com/2017/04/breaking-the-security-model-of-subgraph-os/
- https://www.suse.com/security/cve/CVE-2017-14604.html
- https://security-tracker.debian.org/tracker/CVE-2017-14604
CWEs
CWE-20
Verify integrity in audit chain (admin only). AS-IS.