Advisory

GHSA-mcqj-7p29-9528

Also known as: CVE-2024-23830

Summary

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-02-20 23:43 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

mantisbt/mantisbt

Packagist · All systems

Affected

  • introduced 0, fixed 2.26.1 (ecosystem)

Fixed versions

2.26.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences