CVE-2017-12061

Medium

Description

An XSS issue was discovered in admin/install.php in MantisBT before 1.3.12 and 2.x before 2.5.2. Some variables under user control in the MantisBT installation script are not properly sanitized before being output, allowing remote attackers to inject arbitrary JavaScript code, as demonstrated by the $f_database, $f_db_username, and $f_admin_username variables. This is mitigated by the fact that the admin/ folder should be deleted after installation, and also prevented by CSP.

SeverityMedium
CVSS6.1
Exploit probability—
ProductMantisbt
PublishedAug 1, 2017
First seenAug 1, 2017

How to fix

Update
  • mantisbt mantisbt1.3.12, 2.5.2 or later
  • mantisbt/mantisbt1.3.12, 2.5.2 or later

Affected products

ProductAffected versionsFixed in
mantisbt mantisbt1.3.0 ≤ v < 1.3.12, 2.0.0 ≤ v < 2.5.21.3.12, 2.5.2
mantisbt/mantisbtPackagistv < 1.3.12, 2.0.0 ≤ v < 2.5.21.3.12, 2.5.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.