CVE-2017-14604
Published: 20 September 2017
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.
Notes
Author | Note |
---|---|
mdeslaur | fixing this in stable releases would result in the user getting an unexpected "Untrusted application launcher" dialog on existing .desktop files. Dialog changes would also need new translations. |
Priority
Status
Package | Release | Status |
---|---|---|
nautilus Launchpad, Ubuntu, Debian |
artful |
Not vulnerable
(1:3.26.0-0ubuntu1)
|
bionic |
Not vulnerable
(1:3.26.0-0ubuntu1)
|
|
cosmic |
Not vulnerable
(1:3.26.0-0ubuntu1)
|
|
disco |
Not vulnerable
(1:3.26.0-0ubuntu1)
|
|
eoan |
Not vulnerable
(1:3.26.0-0ubuntu1)
|
|
focal |
Not vulnerable
(1:3.26.0-0ubuntu1)
|
|
groovy |
Not vulnerable
(1:3.26.0-0ubuntu1)
|
|
hirsute |
Not vulnerable
(1:3.26.0-0ubuntu1)
|
|
impish |
Not vulnerable
(1:3.26.0-0ubuntu1)
|
|
jammy |
Not vulnerable
(1:3.26.0-0ubuntu1)
|
|
kinetic |
Not vulnerable
(1:3.26.0-0ubuntu1)
|
|
lunar |
Not vulnerable
(1:3.26.0-0ubuntu1)
|
|
mantic |
Not vulnerable
(1:3.26.0-0ubuntu1)
|
|
trusty |
Does not exist
(trusty was needed)
|
|
upstream |
Released
(3.23.90)
|
|
xenial |
Needed
|
|
zesty |
Ignored
(end of life)
|
|
Patches: upstream: https://github.com/GNOME/nautilus/commit/1630f53481f445ada0a455e9979236d31a8d3bb0 |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 6.5 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | Low |
User interaction | None |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | High |
Availability impact | None |
Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |