{"id":"CVE-2025-47776","published":"2025-11-04T20:31:01Z","modified":"2025-11-05T18:48:23Z","title":"MantisBT: Authentication bypass for some passwords due to PHP type juggling","vendor":"mantisbt","product":"mantisbt","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00345,"percentile":0.28771,"provenance":"source"},"cwes":[{"id":"CWE-305","name":"Authentication Bypass by Primary Weakness"}],"references":[{"url":"https://github.com/mantisbt/mantisbt/security/advisories/GHSA-4v8w-gg5j-ph37","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mantisbt/mantisbt/commit/966554a19cf1bdbcfbfb3004766979faa748f9a2","tags":["x_refsource_MISC"]}],"priority":{"score":11.9,"factors":[{"name":"EPSS percentile","points":5.75},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"mantisbt","affectedVersions":[{"vendor":"mantisbt","product":"mantisbt","versions":["< 2.27.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-11-04T20:41:52.816601Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"mantisbt/mantisbt","vulnerableRanges":["<2.27.2"],"patched":["2.27.2"],"from":["GHSA-4v8w-gg5j-ph37"],"provenance":"source"}],"summary":{"text":"MantisBT, the open source issue tracker, contains an authentication flaw in versions 2.27.1 and below caused by loose (==) rather than strict (===) comparison of password hashes, which lets PHP type juggling treat certain MD5 hashes in scientific notation as zero. An attacker who knows a victim's username and has an account whose password hash also evaluates to zero, on an instance using the MD5 login method, can log in as the victim with any password whose hash likewise evaluates to zero, without knowing the real password and with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:48:57Z"},"euvd":{"id":"EUVD-2025-37510","exploited":false,"provenance":"source"}}