CVE-2015-5059: Infoleak

Published Jun 30, 2015
·
Updated

In MantisBT, the "Project Documentation" feature can be used to attach files to a project. When this feature is enabled ($genableprojectdocumentation = ON) and the threshold to view these files is left to its default value ($gviewprojdocthreshold = ANYBODY), any registered user in the system can download every such attachment, including those which are linked to private projects to which the user does not have access. This can be achieved by calling the download script directly, and specifying the ID of the file to download, e.g.

http://example.com/mantis/filedownload.php?fileid=123&type=doc

Affected versions: - <= 1.2.19 - <= 1.3.0-beta.2

Originally reported on http://seclists.org/oss-sec/2015/q2/791 Upstream patches: - 1.2.x: http://github.com/mantisbt/mantisbt/commit/f39cf525 - 1.3.x: http://github.com/mantisbt/mantisbt/commit/a4be76d6

Other sources

The "Project Documentation" feature in MantisBT 1.2.19 and earlier, when the threshold to access files ($gviewprojdocthreshold) is set to ANYBODY, allows remote authenticated users to download attachments linked to arbitrary private projects via a file id number in the fileid parameter to filedownload.php.

— MITRE

Affected Software

3 affected componentsFixes available
redhat/MantisBT<1.2.20
1.2.20
redhat/MantisBT<1.3.0
1.3.0
MantisBT mantisbt<=1.2.19

Event History

Aug 1, 2017
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2015-5059?

CVE-2015-5059 is classified as a medium severity vulnerability due to its potential to allow unauthorized access to project documentation files for registered users.

2

How do I fix CVE-2015-5059?

To fix CVE-2015-5059, upgrade to MantisBT versions 1.2.20 or 1.3.0 or later.

3

Which versions of MantisBT are affected by CVE-2015-5059?

CVE-2015-5059 affects MantisBT versions up to and including 1.2.19.

4

What functionality is exploited in CVE-2015-5059?

CVE-2015-5059 exploits the Project Documentation feature allowing unauthorized access to files if not configured properly.

5

Who is impacted by CVE-2015-5059?

Any registered user in the MantisBT system can be impacted by CVE-2015-5059 if default configuration values are used.

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