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.
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Link | Tags |
---|---|
http://openwall.com/lists/oss-security/2017/08/01/1 | third party advisory mailing list |
https://mantisbt.org/bugs/view.php?id=23146 | issue tracking vendor advisory |
http://www.securitytracker.com/id/1039030 | vdb entry third party advisory |
https://github.com/mantisbt/mantisbt/commit/17f9b94f031ba93ae2a727bca0e68458ecd08fb0 | third party advisory patch |
http://openwall.com/lists/oss-security/2017/08/01/2 | third party advisory mailing list |
https://github.com/mantisbt/mantisbt/commit/c73ae3d3d4dd4681489a9e697e8ade785e27cba5 | third party advisory patch |