NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2024-23830: MantisBT Host Header Injection vulnerability

highCVSS 3.1 8.3GHSA-mcqj-7p29-9528

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.

Published Feb 20, 2024 · Updated Mar 20, 2026

Affected packages

mantisbt/mantisbt

Ecosystem
Composer (PHP)
Affected
< 2.26.1
Fixed in
2.26.1
Check
composer show mantisbt/mantisbt

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

Credited to dregad, Kerkroups, shaozi, plmaltais, atrol.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries