Mantis Bug Tracker Authentication Bypass Vulnerability Due to PHP Type Juggling

Vulnerability

An authentication bypass vulnerability has been identified in Mantis Bug Tracker (MantisBT) versions 2.27.1 and prior. This issue arises from the incorrect use of loose comparison operators, allowing PHP type juggling to misinterpret certain MD5 hashes as numerical values, particularly those resembling scientific notation. In instances where the MD5 login method is enabled, an attacker can exploit this flaw by knowing the victim's username and using a password that hashes to zero, effectively bypassing the need for the actual password.

Impact

Exploitation of this vulnerability allows for unauthorized access to user accounts by bypassing password authentication. This is particularly concerning as it involves accounts with password hashes that evaluate to zero, which can be exploited without any knowledge of the actual password.

Remediation

Users can upgrade to MantisBT version 2.27.2, where this vulnerability has been patched. For accounts already affected, it is recommended to change the passwords of users with vulnerable password hashes. Instructions for identifying these accounts are available in the vulnerability advisory.

Added: Nov 4, 2025, 9:24 PM
Updated: Nov 4, 2025, 9:24 PM

Vulnerability Rating

Custom Algorithm
spread
5.0
impact
5.0
exploitability
8.8
remediation
8.3
relevance
0.9
threat
3.2
urgency
2.9
incentive
10.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.