XSS in Mantisbt
CVE-2017-12061
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.029, 87.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- openwall.com/lists/oss-security/2017/08/01/1 (Mailing List, Third Party Advisory)
- mantisbt.org/bugs/view.php (Issue Tracking, Vendor Advisory)
- www.securitytracker.com/id/1039030 (Third Party Advisory, VDB Entry, vdb-entry)
- github.com/mantisbt/mantisbt/commit/17f9b94f031ba93ae2a727bca0e68458ecd08fb0 (Patch, Third Party Advisory)
- openwall.com/lists/oss-security/2017/08/01/2 (Mailing List, Third Party Advisory)
- github.com/mantisbt/mantisbt/commit/c73ae3d3d4dd4681489a9e697e8ade785e27cba5 (Patch, Third Party Advisory)