Advisory Published
Updated

CVE-2015-1042

First published: Tue Feb 10 2015(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
CentOS Libreport-plugin-mantisbt=1.2.0-alpha3
CentOS Libreport-plugin-mantisbt=1.2.0-rc1
CentOS Libreport-plugin-mantisbt=1.2.0-rc2
CentOS Libreport-plugin-mantisbt=1.2.1
CentOS Libreport-plugin-mantisbt=1.2.2
CentOS Libreport-plugin-mantisbt=1.2.3
CentOS Libreport-plugin-mantisbt=1.2.4
CentOS Libreport-plugin-mantisbt=1.2.5
CentOS Libreport-plugin-mantisbt=1.2.6
CentOS Libreport-plugin-mantisbt=1.2.7
CentOS Libreport-plugin-mantisbt=1.2.8
CentOS Libreport-plugin-mantisbt=1.2.9
CentOS Libreport-plugin-mantisbt=1.2.10
CentOS Libreport-plugin-mantisbt=1.2.11
CentOS Libreport-plugin-mantisbt=1.2.12
CentOS Libreport-plugin-mantisbt=1.2.13
CentOS Libreport-plugin-mantisbt=1.2.14
CentOS Libreport-plugin-mantisbt=1.2.15
CentOS Libreport-plugin-mantisbt=1.2.16
CentOS Libreport-plugin-mantisbt=1.2.17
CentOS Libreport-plugin-mantisbt=1.2.18

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2015-1042?

    CVE-2015-1042 has a medium severity rating due to its potential for open redirect and phishing attacks.

  • How do I fix CVE-2015-1042?

    To fix CVE-2015-1042, upgrade to MantisBT version 1.2.19 or later, which addresses this vulnerability.

  • What versions of MantisBT are affected by CVE-2015-1042?

    CVE-2015-1042 affects MantisBT versions 1.2.0-alpha3 through 1.2.18.

  • Can CVE-2015-1042 allow attackers to redirect users?

    Yes, CVE-2015-1042 allows attackers to exploit an open redirect vulnerability to redirect users to malicious sites.

  • What is the cause of the CVE-2015-1042 vulnerability?

    The CVE-2015-1042 vulnerability is caused by an incorrect regular expression used in the string_sanitize_url function.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203