MantisBT: Authentication bypass for some passwords due to PHP type juggling
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
mantisbt/mantisbtPackagist | < 2.27.2 | 2.27.2 |
Affected products
2Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-4v8w-gg5j-ph37ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-47776ghsaADVISORY
- github.com/mantisbt/mantisbt/blob/0fb502dd613991e892ed2224ac5ea3e40ba632bc/core/authentication_api.phpghsaWEB
- github.com/mantisbt/mantisbt/commit/966554a19cf1bdbcfbfb3004766979faa748f9a2ghsax_refsource_MISCWEB
- github.com/mantisbt/mantisbt/security/advisories/GHSA-4v8w-gg5j-ph37ghsax_refsource_CONFIRMWEB
- mantisbt.org/bugs/view.phpghsaWEB
News mentions
0No linked articles in our index yet.