Security Resilience

CVE-2023-27580

Crypto Weakness in Codeigniter Shield 1.0.0

Published
13 March 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 7.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS Score 0.0052 45th percentile
Risk Priority 58 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-27580 is a high-severity Use of Password Hash With Insufficient Computational Effort (CWE-916) vulnerability in Codeigniter Shield. Its CVSS base score is 7.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Brute Force (T1110); ranked at the 45th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1110 Brute Force Credential Access
Adversaries may use brute force techniques to gain access to accounts when passwords are unknown or when password hashes are obtained.
T1558.003 Kerberoasting Credential Access
Adversaries may abuse a valid Kerberos ticket-granting ticket (TGT) or sniff network traffic to obtain a ticket-granting service (TGS) ticket that may be vulnerable to [Brute Force](https://attack.
T1078 Valid Accounts Stealth
Adversaries may obtain and abuse credentials of existing accounts as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
T1078.002 Domain Accounts Stealth
Adversaries may obtain and abuse credentials of a domain account as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
T1078.003 Local Accounts Stealth
Adversaries may obtain and abuse credentials of a local account as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
T1078.004 Cloud Accounts Stealth
Valid accounts in cloud environments may allow adversaries to perform actions to achieve Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-48708Same product: Codeigniter Shield
CVE-2023-48707Same product: Codeigniter Shield
CVE-2024-3183Shared CWE-916
CVE-2025-67168Shared CWE-916
CVE-2026-116071Shared CWE-916
CVE-2024-5743Shared CWE-916
CVE-2023-41646Shared CWE-916
CVE-2026-44611Shared CWE-916
CVE-2026-25861Shared CWE-916
CVE-2026-85497Shared CWE-916

Affected Assets

codeigniter
shield
1.0.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V11.4.2

Likely Mitigating Controls

Our mappings. Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-916

Information from security contacts highlights password hashing methods with insufficient computational effort, preventing their adoption.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.DS-01 mostly match
blocks

Proper password hashing is a direct instance of using cryptographic hashes to protect data-at-rest.

PR.PS-06 mostly match
blocks

Secure development practices explicitly include selection and configuration of strong, computationally expensive password hashes.

PR.AA-03 partial match
blocks

Authentication policies may reference password handling but do not address storage or computational cost of hashes.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

removes

A.8.24 mandates approved cryptographic algorithms, strengths and usage practices, so a well-implemented policy specifies strong password hashing (slow KDFs, salting), and applying it to existing first-party authentication code replaces weak hashes; the bounded remainder is third-party/COTS authentication components and legacy systems where the organization does not control the hashing implementation, mirroring the CWE-328 anchor's named remainder.

finds

A.8.29's source reach (code review, SAST) directly sees the hash function choice, salt handling, and iteration count in first-party authentication code, and penetration testing can extract hashes to confirm weakness; the bounded remainder is password hashing delegated to external auth services or implemented in binary-only third-party components where the configuration is opaque to source-reading tests.

prevents

Training can teach developers about proper password hashing schemes (bcrypt, scrypt, Argon2, salting, iteration counts), reducing some instances of CWE-916, but the decision is technical and requires specific cryptographic knowledge that general awareness training does not reliably convey, and developers remain fallible.

prevents

Secure coding practices include implementing password storage with adequate computational effort.

prevents

A.8.30 carries its effect through the secure-development practices its contract requires of the supplier (8.25 to 8.29), so it reduces ordinary software weaknesses in delivered code the way those practices do; CWE-916 is an implementation choice (weak hash, no salt, no stretching) that secure coding and design guidance would address, but the clause's effect depends on the supplier's faithful implementation and is bounded by the same fallibility that caps A.8.28 itself at `partial`.

References