Bug 620992 (CVE-2010-2802)

Summary: CVE-2010-2802 mantis: cross-domain scripting or other browser attacks via arbitrary inline attachment rendering
Product: [Other] Security Response Reporter: Vincent Danen <vdanen>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: giallu, sven
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: 2010-08-04 15:20:13 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:
Bug Depends On: 620993    
Bug Blocks:    

Description Vincent Danen 2010-08-03 22:13:34 UTC
A flaw was found in the way that the Mantis BTS handled attachments and MIME types.  A user could upload an HTML file renamed to a .gif and Mantis would calculate the actual MIME type of the file as text/html.  A user tricked into thinking they were clicking a .gif attachment would instead have the full HTML file rendered in the browser, rather than having it treated as a downloadable file or displayed in plain text.

References:

http://www.mantisbt.org/bugs/view.php?id=11952
http://www.mantisbt.org/blog/?p=113

This was corrected in upstream version 1.2.2 and affects current Fedora 12, 13, rawhide, and EPEL5.

Comment 1 Vincent Danen 2010-08-03 22:14:34 UTC
Created mantis tracking bugs for this issue

Affects: fedora-all [bug 620993]

Comment 2 Gianluca Sforna 2010-08-04 07:26:57 UTC
Hi Vincent, thanks for the report. It seems to me the flaw reported here affects 1.2.x versions. The version we are still shipping in all Fedora/EPEL branches (1.1.8) is not affected by the flaw.

Comment 3 Vincent Danen 2010-08-04 15:20:13 UTC
Ah yes, you're absolutely correct.  I missed the part in the blog post indicating it was 1.2.x.  Thanks for looking, I'll close this and the tracker then.