The string_sanitize_url function in core/string_api.php in MantisBT 1.2.0a3 through 1.2.18 uses an incorrect regular expression, which allows remote attackers to conduct open redirect and phishing attacks via a URL with a “:/” (colon slash) separator in the return parameter to login_page.php, a different vulnerability than CVE-2014-6316.
Source: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1042
Reference (s):
- https://www.mantisbt.org/bugs/view.php?id=17997
- FULLDISC:20150128 CVE-2015-1042 – Mantis BugTracker 1.2.19 – URL Redirection to Untrusted Site (‘Open Redirect’)
- URL: http://seclists.org/fulldisclosure/2015/Jan/110
- http://packetstormsecurity.com/files/130142/Mantis-BugTracker-1.2.19-Open-Redirect.html
- MLIST:[oss-security] 20150110 Re: CVE-2014-6316: URL redirection issue in MantisBT