Vulnerabilities · 2017 · Mantisbt
CVE-2017-12061
Mantisbt vulnerability
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.
Affected products
Mantisbt. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mantisbt runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- mantisbt.org/bugs/view.php?id=23146 · Vendor Advisory
- github.com/mantisbt/mantisbt/commit/17f9b94f031ba93ae2a727bca0e68458ecd08fb0 · Patch
- github.com/mantisbt/mantisbt/commit/c73ae3d3d4dd4681489a9e697e8ade785e27cba5 · Patch
- openwall.com/lists/oss-security/2017/08/01/1 · Third Party Advisory
- openwall.com/lists/oss-security/2017/08/01/2 · Third Party Advisory
- www.securitytracker.com/id/1039030 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2017-12061
- web.archive.org/web/20170811053146/http://www.securitytracker.com/id/1039030
- nvd.nist.gov/vuln/detail/CVE-2017-12061
- cve.org/CVERecord?id=CVE-2017-12061
More vulnerabilities in Mantisbt products
CVE-2025-62520CVE-2025-55155CVE-2025-47776CVE-2025-46556CVE-2024-45792CVE-2024-34081CVE-2024-34080CVE-2024-34077All 124
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.