CVE-2017-12061 MantisBT XSS allows unsanitized input via admin/install.php
MediumCVSS 6.1
EPSS 2.9%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- PHP
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| mantisbt | >= 1.3.0, < 1.3.12; >= 2.0.0, < 2.5.2 | 1.3.12, 2.5.2 | Fixed |
| mantisbt(Packagist) | < 1.3.12; <= 1.3.11; = 2.3.0; = 2.3.1 +8 more | 1.3.12, 2.5.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mantisbt(Packagist) | < 1.3.12 | 1.3.12 |
| mantisbt(Packagist) | >= 2.0.0, < 2.5.2 | 2.5.2 |
| mantisbt(Packagist) | = 2.3.0 | No fix listed |
| mantisbt(Packagist) | = 2.3.1 | No fix listed |
| mantisbt(Packagist) | = 2.3.2 | No fix listed |
| mantisbt(Packagist) | = 2.3.3 | No fix listed |
| mantisbt(Packagist) | = 2.4.0 | No fix listed |
| mantisbt(Packagist) | = 2.4.1 | No fix listed |
| mantisbt(Packagist) | = 2.4.2 | No fix listed |
| mantisbt(Packagist) | = 2.5.0 | No fix listed |
| mantisbt(Packagist) | = 2.5.1 | No fix listed |
| mantisbt | >= 1.3.0, < 1.3.12 | 1.3.12 |
| mantisbt | >= 2.0.0, < 2.5.2 | 2.5.2 |
| mantisbt(Packagist) | <= 1.3.11 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- github.com patch third-party-advisory
- github.com product
- mantisbt.org issue-tracking vendor-advisory
- web.archive.org
- openwall.com mailing-list third-party-advisory
- openwall.com mailing-list third-party-advisory
- 1039030 third-party-advisory vdb-entry
- github.com