CVE-2010-2802: XSS

Published Aug 3, 2010
·
Updated

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.

Other sources

Cross-site scripting (XSS) vulnerability in MantisBT before 1.2.2 allows remote authenticated users to inject arbitrary web script or HTML via an HTML document with a .gif filename extension, related to inline attachments.

Affected Software

37 affected components
MantisBT mantisbt=1.0.0-rc1
MantisBT mantisbt=1.0.0a1
MantisBT mantisbt=1.0.0-rc3
MantisBT mantisbt=0.19.4
MantisBT mantisbt=1.0.0a3
MantisBT mantisbt=1.0.2
MantisBT mantisbt=0.19.0a1
MantisBT mantisbt=0.19.0-rc1
MantisBT mantisbt=0.19.1
MantisBT mantisbt=0.18.0
MantisBT mantisbt=0.19.2
MantisBT mantisbt<=1.2.1
MantisBT mantisbt=0.19.3
MantisBT mantisbt=1.1.6
MantisBT mantisbt=1.2.0
MantisBT mantisbt=1.1.4
MantisBT mantisbt=1.0.3
MantisBT mantisbt=1.1.0
MantisBT mantisbt=1.0.0-rc2
MantisBT mantisbt=0.19.0a2
MantisBT mantisbt=1.1.5
MantisBT mantisbt=1.0.7
MantisBT mantisbt=1.1.2
MantisBT mantisbt=1.0.1
MantisBT mantisbt=1.0.0-rc5
MantisBT mantisbt=1.0.0
MantisBT mantisbt=1.0.4
MantisBT mantisbt=1.1.7
MantisBT mantisbt=1.0.5
MantisBT mantisbt=1.1.8
MantisBT mantisbt=0.19.0
MantisBT mantisbt=1.0.0-rc4
MantisBT mantisbt=1.0.6
MantisBT mantisbt=0.19.5
MantisBT mantisbt=1.0.0a2
MantisBT mantisbt=1.0.8
MantisBT mantisbt=1.1.1

Remediation

Event History

Aug 3, 2010
Data Sourced
10:13 PM
DescriptionSeverityAffected Software
Sep 7, 2010
CVE Published
via MITRE·04:30 PM
Data Sourced
via MITRE·04:30 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2010-2802?

CVE-2010-2802 is classified as a medium-severity vulnerability due to its potential for exploitation through file upload tricks.

2

How do I fix CVE-2010-2802?

To mitigate CVE-2010-2802, upgrade to a patched version of MantisBT that addresses the issue with improperly handled attachments.

3

What is the impact of CVE-2010-2802?

CVE-2010-2802 allows an attacker to upload malicious HTML files disguised as image files, potentially leading to phishing or other attacks.

4

Which versions of MantisBT are affected by CVE-2010-2802?

CVE-2010-2802 affects multiple versions including MantisBT versions from 0.18.0 to 1.2.1.

5

Can CVE-2010-2802 lead to remote code execution?

CVE-2010-2802 does not directly lead to remote code execution, but it can facilitate phishing attacks or other malicious actions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203