ADVISORIES

GitHub Advisory Database

GHSA-mcqj-7p29-9528

MantisBT Host Header Injection vulnerability

Details

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

EcosystemPackageAffected versions
Packagistmantisbt/mantisbt
All versions before 2.26.1 (fixed in 2.26.1)

References