CVE-2023-27580
PHP vulnerability analysis and mitigation

Overview

CodeIgniter Shield provides authentication and authorization for the CodeIgniter 4 PHP framework. An improper implementation was found in the password storage process affecting Shield versions prior to v1.0.0-beta.4. All hashed passwords stored in Shield v1.0.0-beta.3 or earlier are easier to crack than expected due to the vulnerability. The issue was discovered and disclosed in March 2023 (GitHub Advisory).

Technical details

The vulnerability is related to password shucking, where an attacker can strip layers off an updated password hash, removing the benefits of its new password hashing algorithm and reverting it to its weaker algorithm. If an attacker obtains both the user's hashed password from Shield and a SHA-384 hash without salt from somewhere else, they can easily crack the user's password. The vulnerability has a CVSS v3.1 score of 5.9 (Medium) with vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N (NVD).

Impact

If exploited, an attacker could potentially crack user passwords more easily than intended, especially if users have reused passwords across different sites. The vulnerability makes the password hashes significantly weaker than they should be, reducing the computational effort required to crack them (OWASP).

Mitigation and workarounds

Users should upgrade to Shield v1.0.0-beta.4 or later to fix this vulnerability. After upgrading, all users' hashed passwords should be updated and saved to the database. There are no known workarounds for this vulnerability. For systems still using older versions, the passwords should be removed as soon as possible (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65346CRITICAL9.1
  • PHPPHP
  • alexusmai/laravel-file-manager
NoNoDec 04, 2025
CVE-2025-66468HIGH7.6
  • PHPPHP
  • aimeos/ai-cms-grapesjs
NoYesDec 02, 2025
CVE-2025-65345MEDIUM6.5
  • PHPPHP
  • alexusmai/laravel-file-manager
NoNoDec 03, 2025
CVE-2025-65657MEDIUM6.5
  • PHPPHP
  • feehi/cms
NoNoDec 02, 2025
CVE-2025-65186MEDIUM6.1
  • PHPPHP
  • getgrav/grav
NoNoDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management