CVE-2017-12061: XSS
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 $fdatabase, $fdbusername, and $fadminusername variables. This is mitigated by the fact that the admin/ folder should be deleted after installation, and also prevented by CSP.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2017-12061?
CVE-2017-12061 is considered a medium severity vulnerability due to the potential for cross-site scripting attacks.
How do I fix CVE-2017-12061?
To fix CVE-2017-12061, upgrade MantisBT to version 1.3.12 or 2.5.2 or later.
What type of vulnerability is CVE-2017-12061?
CVE-2017-12061 is an XSS (Cross-Site Scripting) vulnerability.
Which versions of MantisBT are affected by CVE-2017-12061?
CVE-2017-12061 affects MantisBT versions prior to 1.3.12 and 2.x versions before 2.5.2.
Can CVE-2017-12061 be exploited remotely?
Yes, CVE-2017-12061 can be exploited remotely by injecting arbitrary JavaScript code.