Paper/Archive/CVE-2025-47776

CVE-2025-47776

mantisbt mantisbt — MantisBT: Authentication bypass for some passwords due to PHP type juggling

Description · from the CVE record

Mantis Bug Tracker (MantisBT) is an open source issue tracker. Due to incorrect use of loose (==) instead of strict (===) comparison in the authentication code in versions 2.27.1 and below.PHP type juggling will cause certain MD5 hashes matching scientific notation to be interpreted as numbers. Instances using the MD5 login method allow an attacker who knows the victim's username and has access to an account with a password hash that evaluates to zero to log in without knowing the victim's actual password, by using any other password with a hash that also evaluates to zero This issue is fixed in version 2.27.2.

Affected

ProductAffectedFixed inSource
mantisbt< 2.27.2–CNA

Scores by source

NVD9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
GitHub_M (CNA)8.8CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: partial

References

refgithub.com/mantisbt/mantisbt/security/advisories/GHSA-4v8w-gg5j-ph37refgithub.com/mantisbt/mantisbt/commit/966554a19cf1bdbcfbfb3004766979faa748f9a2