CVE-2023-27580: Password Shucking Vulnerability
5.9
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.27712%
CWE
Published
3/13/2023
Updated
3/23/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| codeigniter4/shield | composer | < 1.0.0-beta.4 | 1.0.0-beta.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from using SHA-384 pre-hashing without salt before bcrypt, as shown in the commit diff where these functions were replaced with direct password_hash/password_verify. The deprecated hashDanger() and verifyDanger() methods in the patched code represent the old vulnerable implementation. This implementation allowed attackers to exploit externally leaked SHA-384 hashes to bypass bcrypt's protection through password shucking, as described in the referenced security advisories and blog posts.