GNOME Bugzilla – Bug 779547
Deceptive Display of Dangerous File
Last modified: 2017-03-04 11:50:15 UTC
Created attachment 347159 [details] Executable “.desktop” file in TAR archive Download the attachment, extract, and try to view the “LibreOffice Document.” This is clearly a very deceptive display of a dangerous filetype by Nautilus, that will readily enable social engineering attacks against even the most experienced Linux users.
Not sure I understand, what's the issue? What do you mean by deceptive display?
(In reply to Carlos Soriano from comment #1) > Not sure I understand, what's the issue? What do you mean by deceptive > display? Bug 777991, maybe?
yeah maybe, just want to make sure what reporter means with "deceptive display", doesn't look like we do anything different for display, which seems is the main concern of the reporter.
Have you tried extracting and double-clicking the extracted file on a recent GNOME desktop? It displays as a document, because the .desktop file instructs Nautilus to show that icon, but it really is no different from a script that can execute any arbitrary command. Even with the “View executable text files when they are opened” setting, the .desktop file still executes pretty much like a script when the execute bit is set. This behaviour is also equally deceptive, and highly conducive to social engineering.
Sorry for the trouble. Looks like the patch for Bug 777991 has already fixed this issue.
*** This bug has been marked as a duplicate of bug 777991 ***