CVE-2024-23830
PHP vulnerability analysis and mitigation

Overview

MantisBT, an open source issue tracker, was found to contain a host header injection vulnerability (CVE-2024-23830) affecting versions prior to 2.26.1. The vulnerability was discovered in February 2024 and allows an unauthenticated attacker who knows a user's email address and username to hijack the user's account by poisoning the link in the password reset notification message (GitHub Advisory).

Technical details

The vulnerability stems from MantisBT's default mechanism to determine the server path using client-provided HTTP headers. When $g_path is not explicitly defined in config_inc.php, the system builds the path based on headers from the HTTP request, making it susceptible to Host Header injection attacks. An attacker can manipulate the Host header during a password reset request to point to a malicious domain, causing the reset link in the email notification to direct users to the attacker's server. The vulnerability has been assigned a CVSS v3.1 base score of 8.3 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L (NVD).

Impact

If successfully exploited, this vulnerability allows attackers to hijack user accounts by intercepting password reset verification hashes when victims click on manipulated password reset links. This could lead to unauthorized access to user accounts and potential exposure of sensitive information (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in MantisBT version 2.26.1. As a workaround for affected versions, administrators should define $g_path explicitly in config_inc.php. The patch includes improvements to the installation process where administrators can set $g_path during installation, with a default value provided based on the installation URL (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23622HIGH8.7
  • PHPPHP
  • alextselegidis/easyappointments
NoNoJan 15, 2026
CVE-2025-14894HIGH7.5
  • PHPPHP
  • livewire-filemanager/filemanager
NoNoJan 16, 2026
CVE-2026-23626MEDIUM6.8
  • PHPPHP
  • kimai/kimai
NoYesJan 18, 2026
CVE-2025-69198MEDIUM6
  • PHPPHP
  • pterodactyl/panel
NoYesJan 19, 2026
CVE-2026-23496MEDIUM5.4
  • PHPPHP
  • pimcore/web2print-tools-bundle
NoYesJan 15, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management