Skip to content
OpenAdvisories
Medium · 4.8 CVE-2017-7241 EUVD-2017-16273GHSA-x53v-v9xp-gf6g

MantisBT XSS via move_attachments_page.php

Published Mar 31, 2017 · Updated Aug 5, 2024 · Assigned by mitre

Description

A cross-site scripting (XSS) vulnerability in the MantisBT Move Attachments page (move_attachments_page.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 packages

EcosystemPackageAffectedFixedRecord
Packagist mantisbt/mantisbt < 1.3.9 1.3.9 GHSA-x53v-v9xp-gf6g
Packagist mantisbt/mantisbt >= 2.0.0, < 2.1.3 2.1.3 GHSA-x53v-v9xp-gf6g
Packagist mantisbt/mantisbt >= 2.2.0, < 2.2.3 2.2.3 GHSA-x53v-v9xp-gf6g

References