CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2023 · Codeigniter

CVE-2023-27580
Codeigniter Shield vulnerability

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.

Affected products

Shield. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Codeigniter Shield runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Codeigniter products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.