Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Mantisbt | Mantisbt | >= 1.3.0, < 1.3.12 |
Related Weaknesses (CWE)
References
- http://openwall.com/lists/oss-security/2017/08/01/1Mailing ListThird Party Advisory
- http://openwall.com/lists/oss-security/2017/08/01/2Mailing ListThird Party Advisory
- http://www.securitytracker.com/id/1039030Third Party AdvisoryVDB Entry
- https://github.com/mantisbt/mantisbt/commit/17f9b94f031ba93ae2a727bca0e68458ecd0PatchThird Party Advisory
- https://github.com/mantisbt/mantisbt/commit/c73ae3d3d4dd4681489a9e697e8ade785e27PatchThird Party Advisory
- https://mantisbt.org/bugs/view.php?id=23146Issue TrackingVendor Advisory
- http://openwall.com/lists/oss-security/2017/08/01/1Mailing ListThird Party Advisory
- http://openwall.com/lists/oss-security/2017/08/01/2Mailing ListThird Party Advisory
- http://www.securitytracker.com/id/1039030Third Party AdvisoryVDB Entry
- https://github.com/mantisbt/mantisbt/commit/17f9b94f031ba93ae2a727bca0e68458ecd0PatchThird Party Advisory
- https://github.com/mantisbt/mantisbt/commit/c73ae3d3d4dd4681489a9e697e8ade785e27PatchThird Party Advisory
- https://mantisbt.org/bugs/view.php?id=23146Issue TrackingVendor Advisory
FAQ
What is CVE-2017-12061?
CVE-2017-12061 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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...
How severe is CVE-2017-12061?
CVE-2017-12061 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2017-12061?
Check the references section above for vendor advisories and patch information. Affected products include: Mantisbt Mantisbt.