CVE-2025-47776CWE-305

CVE-2025-47776

Critical · published November 5, 2025

CVSS v3.1
9.1
EPSS
0%
Percentile
26.5
In the wild
Unconfirmed
What it is

⚡ A sneaky comparison flaw in Mantis Bug Tracker could let attackers log in as victims with a simple password swap! 🔄 Think of it like a restaurant that mistakenly allows anyone to order a dish if they can match a zero-cost meal — an oversight that turns one dining experience into a free-for-all. 🍽️ An attacker could easily log in as any user who has a username and an MD5 hash evaluating to zero, completely bypassing the actual password. This means sensitive data could be exposed or tampered with, putting your projects at risk. It's a dangerous scenario that could lead to unauthorized access and manipulation of critical issue tracking information.

Put simply

Think of it like a restaurant that mistakenly allows anyone to order a dish if they can match a zero-cost meal — an oversight that turns one dining experience into a free-for-all. 🍽️ This vulnerability arises from using loose (==) instead of strict (===) comparison in the authentication process, which allows PHP's type juggling to interpret certain MD5 hashes as numbers. As a result, if an attacker knows a username and has access to a zero-value hash, they can gain unauthorized access without needing the correct password.

What to do

An attacker could easily log in as any user who has a username and an MD5 hash evaluating to zero, completely bypassing the actual password. This means sensitive data could be exposed or tampered with, putting your projects at risk. It's a dangerous scenario that could lead to unauthorized access and manipulation of critical issue tracking information. Immediate action is required! Upgrade Mantis Bug Tracker to version 2.27.2 to eliminate this vulnerability. Additionally, review any accounts that may have been affected and consider implementing stronger password policies to add an extra layer of security. You've got this! Follow these steps and you’ll be back on track, securing your MantisBT in no time. 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00342 · 26.5th percentile
Weakness
CWE-305 · Authentication Bypass by Primary Weakness
Published
2025-11-05T02:15Z
Affected products (1)
ProductVersionsFixed in
mantisbt/mantisbt< 2.27.22.27.2
References (2)
EPSS history
Timeline
  • 04 NOV 20:31Z
    MantisBT: Authentication bypass for some passwords due to PHP type juggling
    cvelistv5