Bug 479057

Summary: /etc/mailcap unsafe xdg-open usage
Product: [Fedora] Fedora Reporter: Josh Bressers <bressers>
Component: mailcapAssignee: Miroslav Lichvar <mlichvar>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 10CC: mlichvar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-06 20:27:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Josh Bressers 2009-01-06 20:04:18 UTC
The following issue was reported to us from Manuel Reimer:

https://bugs.freedesktop.org/show_bug.cgi?id=19377

The basic summary, is that xdg-open detects the file mime type, and Firefox gets its mime type from the server.  That means that a malicious site could trick a user into thinking they are downloading a PDF file, but could be treated differently by xdg-open.

Comment 1 Josh Bressers 2009-01-06 20:27:52 UTC

*** This bug has been marked as a duplicate of bug 479010 ***