GHSA-mcqj-7p29-9528
MantisBT Host Header Injection vulnerability
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | mantisbt/mantisbt | < 2.26.1 | 2.26.1 |
Details
As written in the advisory (Markdown source, shown as plain text).
### 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
References
External links from the advisory. They lead to third-party sites.