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 which a .desktop file's Name field ends in .pdf but this file'...
MediumCVSS 6.5
EPSS 2.5%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/nautilus(Debian:12) | < 3.25.90-1 | 3.25.90-1 |
| debian/nautilus(Debian:13) | < 3.25.90-1 | 3.25.90-1 |
| debian/nautilus(Debian:14) | < 3.25.90-1 | 3.25.90-1 |
| GNOME nautilus | < 3.23.90 | 3.23.90 |
| debian linux | = 8.0 | No fix listed |
| debian linux | = 9.0 | No fix listed |
| debian linux | = 10.0 | No fix listed |
References
- Debian Security Tracker CVE-2017-14604 vendor-advisory
- DSA-3994 third-party-advisory vendor-advisory
- 101012 third-party-advisory vdb-entry
- RHSA-2018:0223 third-party-advisory vendor-advisory
- bugs.debian.org issue-tracking third-party-advisory
- bugzilla.gnome.org issue-tracking vendor-advisory
- github.com issue-tracking patch third-party-advisory
- github.com issue-tracking patch third-party-advisory
- github.com third-party-advisory
- micahflee.com exploit third-party-advisory
- bugs.debian.org issue-tracking