mantisbt/mantisbt · Security
MantisBT Host Header Injection vulnerability
- GHSA ID
- GHSA-mcqj-7p29-9528
- CVE ID
- CVE-2024-23830
- Severity
- high
- Published
- Updated
- CVSS
- 8.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L
- CVSS v3
- 8.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L
Description
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 $g_path as appropriate in config_inc.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
CWEs
- CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
References
- https://github.com/mantisbt/mantisbt/security/advisories/GHSA-mcqj-7p29-9528 ↗
- https://github.com/mantisbt/mantisbt/commit/7055731d09ff12b2781410a372f790172e279744 ↗
- https://nvd.nist.gov/vuln/detail/CVE-2024-23830 ↗
- https://mantisbt.org/bugs/view.php?id=19381 ↗
- https://github.com/advisories/GHSA-mcqj-7p29-9528 ↗