CVE-2017-7241: XSS

Published Mar 31, 2017
·
Updated

A cross-site scripting (XSS) vulnerability in the MantisBT Move Attachments page (moveattachmentspage.php, part of admin tools) allows remote attackers to inject arbitrary code through a crafted 'type' parameter, if Content Security Protection (CSP) settings allows it. This is fixed in 1.3.9, 2.1.3, and 2.2.3. Note that this vulnerability is not exploitable if the admin tools directory is removed, as recommended in the "Post-installation and upgrade tasks" of the MantisBT Admin Guide. A reminder to do so is also displayed on the login page.

Affected Software

38 affected componentsFixes available
MantisBT mantisbt=1.2.16
MantisBT mantisbt=1.2.17
MantisBT mantisbt=1.2.18
MantisBT mantisbt=1.2.19
MantisBT mantisbt=1.2.20
MantisBT mantisbt=1.3.0-beta1
MantisBT mantisbt=1.3.0-beta2
MantisBT mantisbt=1.3.0-beta3
MantisBT mantisbt=1.3.0-rc1
MantisBT mantisbt=1.3.0-rc2
MantisBT mantisbt=1.3.1
MantisBT mantisbt=1.3.2
MantisBT mantisbt=1.3.3
MantisBT mantisbt=1.3.4
MantisBT mantisbt=1.3.5
MantisBT mantisbt=1.3.6
MantisBT mantisbt=1.3.7
MantisBT mantisbt=1.3.8
MantisBT mantisbt=1.3.9
MantisBT mantisbt=2.0.0
MantisBT mantisbt=2.0.0-beta1
MantisBT mantisbt=2.0.0-beta2
MantisBT mantisbt=2.0.0-beta3
MantisBT mantisbt=2.0.0-rc1
MantisBT mantisbt=2.0.0-rc2
MantisBT mantisbt=2.0.1
MantisBT mantisbt=2.1.0
MantisBT mantisbt=2.1.1
MantisBT mantisbt=2.1.2
MantisBT mantisbt=2.1.3
MantisBT mantisbt=2.2.0
MantisBT mantisbt=2.2.1
MantisBT mantisbt=2.2.2
MantisBT mantisbt=2.2.3
MantisBT mantisbt=2.3.0
composer/mantisbt/mantisbt>=2.2.0<2.2.3
2.2.3
composer/mantisbt/mantisbt>=2.0.0<2.1.3
2.1.3
composer/mantisbt/mantisbt<1.3.9
1.3.9

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/mantisbt/mantisbt to a version that resolves this vulnerability.

    Fixed in 2.2.3
  2. Upgrade

    Upgrade composer/mantisbt/mantisbt to a version that resolves this vulnerability.

    Fixed in 2.1.3
  3. Upgrade

    Upgrade composer/mantisbt/mantisbt to a version that resolves this vulnerability.

    Fixed in 1.3.9
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.3.9
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.1.3
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.2.3
  7. Remove

    Remove MantisBT admin tools directory from your environment.

    Remove the admin tools directory (as recommended in the MantisBT Admin Guide “Post-installation and upgrade tasks”) to prevent exploitation of the XSS in the Move Attachments page (move_attachments_page.php).

Event History

Mar 31, 2017
CVE Published
via MITRE·04:26 AM
Data Sourced
via MITRE·04:26 AM
Description
Data Sourced
via NVD·04:59 AM
RemedyDescriptionSeverityWeaknessAffected Software
May 17, 2022
Advisory Published
via GitHub·02:30 AM
Data Sourced
via GitHub·02:30 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2017-7241?

CVE-2017-7241 is classified as a medium severity cross-site scripting (XSS) vulnerability.

2

How do I fix CVE-2017-7241?

To fix CVE-2017-7241, upgrade MantisBT to version 1.3.9 or later.

3

Which versions of MantisBT are affected by CVE-2017-7241?

CVE-2017-7241 affects MantisBT versions from 1.2.16 to 1.3.8 and includes several beta and release candidates.

4

What is the impact of exploiting CVE-2017-7241?

Exploiting CVE-2017-7241 allows remote attackers to inject arbitrary code into the Move Attachments page, potentially leading to further attacks.

5

Is there a workaround for CVE-2017-7241 if I cannot upgrade?

If upgrading is not possible, implementing stricter Content Security Policy (CSP) settings may mitigate some risks associated with CVE-2017-7241.

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