CVE-2017-14604
nautilus: Insufficient validation of trust of .desktop files with execute permission
Overview
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.
Source: OX vulnerability database
Severity
6.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Weakness: CWE-20
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 8 fixes
Oracle Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | nautilus +2 | 3.22.3-4.el7_4 |
Red Hat 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | nautilus +2 | 0:3.22.3-4.el7_4 | RHSA-2018:0223 |
debian 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | nautilus | 3.25.90-1 |
| 12 | nautilus | 3.25.90-1 |
| 13 | nautilus | 3.25.90-1 |
| 14 | nautilus | 3.25.90-1 |
| 9 | nautilus | 3.22.3-1+deb9u1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| nautilus | 3.25.90-1 |
References
- www.debian.org http://www.debian.org/security/2017/dsa-3994
- www.securityfocus.com http://www.securityfocus.com/bid/101012
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:0223
- access.redhat.com https://access.redhat.com/security/cve/CVE-2017-14604
- bugs.debian.org https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860268
- bugzilla.gnome.org https://bugzilla.gnome.org/show_bug.cgi?id=777991
- github.com https://github.com/GNOME/nautilus/commit/1630f53481f445ada0a455e9979236d31a8d3bb0
- github.com https://github.com/GNOME/nautilus/commit/bc919205bf774f6af3fa7154506c46039af5a69b
- github.com https://github.com/freedomofpress/securedrop/issues/2238
- linux.oracle.com https://linux.oracle.com/cve/CVE-2017-14604.html
Show all 14 references
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.