core/string_api.php in MantisBT before 1.2.18 does not properly categorize URLs when running under the web root, which allows remote attackers to conduct open redirect and phishing attacks via a crafted URL in the return parameter to login_page.php.
https://www.mantisbt.org/bugs/view.php?id=17648
https://github.com/mantisbt/mantisbt/commit/e66ecc9f
https://exchange.xforce.ibmcloud.com/vulnerabilities/99128
https://euvd.enisa.europa.eu/vulnerability/EUVD-2014-6200
http://www.securityfocus.com/bid/71478
http://www.openwall.com/lists/oss-security/2014/12/03/11
http://www.debian.org/security/2015/dsa-3120