CVE-2024-23830
MantisBT Host Header Injection vulnerability
Impact
### 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
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | mantisbt/mantisbt | < 2.26.1 | 2.26.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Mantisbt | Mantisbt | before 2.26.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/mantisbt/mantisbt/commit/7055731d09ff12b2781410a372f790172e279744
- https://github.com/mantisbt/mantisbt/security/advisories/GHSA-mcqj-7p29-9528
- https://mantisbt.org/bugs/view.php?id=19381
- https://github.com/advisories/GHSA-mcqj-7p29-9528
- https://nvd.nist.gov/vuln/detail/CVE-2024-23830