CVE-2023-27580

MEDIUM EPSS 40.0%
Published Mar 13, 20233y ago · Modified Jun 17, 20262w ago
5.9 CVSS 3.1
Medium
Find Similar
Published Mar 13, 2023 3y ago
Last Modified Jun 17, 2026 2w ago

Description

CodeIgniter Shield provides authentication and authorization for the CodeIgniter 4 PHP framework. An improper implementation was found in the password storage process. All hashed passwords stored in Shield v1.0.0-beta.3 or earlier are easier to crack than expected due to the vulnerability. Therefore, they should be removed as soon as possible. If an attacker gets (1) the user's hashed password by Shield, and (2) the hashed password (SHA-384 hash without salt) from somewhere, the attacker may easily crack the user's password. Upgrade to Shield v1.0.0-beta.4 or later to fix this issue. After upgrading, all users’ hashed passwords should be updated (saved to the database). There are no known workarounds.

CVSS Details

Base Score
5.9
Exploitability
2.2
Impact
3.6
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack Vector Network
Attack Complexity High
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity None
Availability None

Threat Intelligence

EPSS Exploit Probability
40.0% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-916

Affected Products 3

VendorProductVersionRange
codeignitershield1.0.0any
codeignitershield1.0.0any
codeignitershield1.0.0any

References 6

  • blog.ircmaxell.com https://blog.ircmaxell.com/2015/03/security-issue-combining-bcrypt-with.html
    Third Party Advisory
  • cheatsheetseries.owasp.org https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#pre-hashing-passwords
    Not Applicable
  • github.com https://github.com/codeigniter4/shield/blob/develop/UPGRADING.md
    Vendor Advisory
  • github.com https://github.com/codeigniter4/shield/commit/ea9688dd01d100193d834117dbfc2cfabcf9ea0b
    Patch
  • github.com https://github.com/codeigniter4/shield/security/advisories/GHSA-c5vj-f36q-p9vg
    Vendor Advisory
  • scottbrady91.com https://www.scottbrady91.com/authentication/beware-of-password-shucking
    Third Party Advisory

Remediation

  • github.com https://github.com/codeigniter4/shield/commit/ea9688dd01d100193d834117dbfc2cfabcf9ea0b
    Patch