CVE-2020-23355: Codiad Vulnerable to PHP Magic Hash Vulnerability
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.46188%
CWE
Published
5/24/2022
Updated
4/25/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
codiad/codiad | composer | <= 2.8.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability explicitly references the Authenticate()
method in class.user.php
as the affected component. The root cause is the use of PHP
's loose comparison operator (==) for password hash matching, which enables magic hash collisions (e.g., '0e123' == '0e456' evaluates to true). This matches CWE-697 (Incorrect Comparison) and aligns with the documented magic hash vulnerability pattern. The GitHub issue #1121 and CVE description both confirm the authentication bypass occurs in this specific function.