CVE-2024-23830: MantisBT Host Header Injection vulnerability

Published Feb 20, 2024
·
Updated

Impact Knowing a user's email address and username, an unauthenticated attacker can hijack the user's account by poisoning the link in the password reset notification message.

Patches https://github.com/mantisbt/mantisbt/commit/7055731d09ff12b2781410a372f790172e279744

Workarounds Define $gpath as appropriate in configinc.php.

References https://mantisbt.org/bugs/view.php?id=19381

Credits

Thanks to the following security researchers for responsibly reporting and helping resolve this vulnerability.

- Pier-Luc Maltais (https://twitter.com/plmaltais) - Hlib Yavorskyi (https://github.com/Kerkroups) - Jingshao Chen (https://github.com/shaozi) - Brandon Roldan - nhchoudhary

Other sources

MantisBT is an open source issue tracker. Prior to version 2.26.1, an unauthenticated attacker who knows a user's email address and username can hijack the user's account by poisoning the link in the password reset notification message. A patch is available in version 2.26.1. As a workaround, define $gpath as appropriate in configinc.php.

NVD

Affected Software

2 affected componentsFixes available
composer/mantisbt/mantisbt<2.26.1
2.26.1
MantisBT mantisbt<2.26.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/mantisbt/mantisbt to a version that resolves this vulnerability.

    Fixed in 2.26.1
  2. Upgrade

    Upgrade MantisBT to a version that resolves this vulnerability.

    Fixed in 2.26.1
  3. Configuration

    As a workaround (when not yet upgraded), define `$g_path` as appropriate in `config_inc.php`.

    MantisBT $g_path (in config_inc.php) = define $g_path as appropriate in config_inc.php

Event History

Feb 20, 2024
CVE Published
via MITRE·09:44 PM
Data Sourced
via MITRE·09:44 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 PM
RemedyAffected Software
Advisory Published
via GitHub·11:43 PM

Frequently Asked Questions

1

What is the severity of CVE-2024-23830?

CVE-2024-23830 is considered to be a high severity vulnerability due to the potential for account hijacking.

2

How do I fix CVE-2024-23830?

To fix CVE-2024-23830, upgrade to MantisBT version 2.26.1 or later.

3

What types of attacks are possible with CVE-2024-23830?

An attacker can perform account hijacking by exploiting the password reset process.

4

Who is affected by CVE-2024-23830?

Users of MantisBT versions prior to 2.26.1 are affected by this vulnerability.

5

Is CVE-2024-23830 a remote or local vulnerability?

CVE-2024-23830 is a remote vulnerability, as it can be exploited by unauthenticated attackers.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203