Raw vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NCVSS 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-2024-38277 is a medium-severity Use of a Key Past its Expiration Date (CWE-324) vulnerability in Moodle. Its CVSS base score is 5.4 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Valid Accounts (T1078); ranked at the 16th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to IA-5 (Authenticator Management) and SC-12 (Cryptographic Key Establishment and Management) — see the control section below for these in your framework.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-2156
Vulnerability Data
A unique key should be generated for a user's QR login key and their auto-login key, so the same key cannot be used interchangeably between the two.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
SC-12 requires establishing and managing cryptographic keys including distribution, storage, access and destruction, which directly enforces expiration and rotation policies.
SC-13 requires selection and implementation of specific cryptographic algorithms and key lengths, directly preventing use of inadequate encryption strength.
IA-5 requires managing authenticators (including passwords and tokens) with verification, distribution and revocation steps that cover expiration enforcement.
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.
Lifecycle management of cryptographic assets directly includes enforcing key expiration and rotation.
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.
A.8.24's key management section directly mandates activation/deactivation dates for keys (item l) and rules on when to change keys (item e), so a system designed under a well-implemented clause does not use expired keys; the remainder is bounded and nameable — implementation defects in code that fails to check expiration (as in the CWE-324 demonstrative example) and third-party components with their own key lifecycles.
Training developers about cryptographic key management and certificate validation can reduce instances of expired-key usage, but the effect is a minority one because the weakness is a specific code defect (failing to check expiration) and training is fallible; the strongest controls for this weakness sit in A.8.24 (cryptography policy) and A.8.29 (security testing), not in awareness.
A.8.28 mandates secure coding standards and practices that can include key lifecycle handling (checking expiration, rotating keys), and its guidance on common coding defects and secure design/architecture reaches this weakness, but the clause mandates a practice rather than a mechanism, so coverage depends on what the standard actually specifies and on developer adherence — consistent with the `partial` rungs on A.8.28 vs CWE-502 and CWE-79.
A.8.29's security testing programme (SAST, DAST, penetration testing) can discover an expired key in the application's own code or configuration during acceptance testing, but the weakness is often a runtime operational state (a key that was valid at deployment and has since expired) that a pre-deployment test cycle does not observe, so only a minority of instances are found.
A.8.30 carries its effect through contractual requirements for secure design, coding and testing practices (8.25-8.29), which can reach CWE-324 as a software implementation weakness where secure coding mandates expiration checks and security testing verifies them; however, key expiration is often an operational/lifecycle concern beyond what outsourced development contracts govern, and the clause's effect depends on the supplier implementing the required practices, leaving a nameable remainder.
A.8.8 can surface the disclosed or externally visible instances such as expired certificates through vulnerability awareness and scanning, but it misses the larger share of embedded, internal, or undisclosed expired-key/password defects, so it finds only a minority.
Hardening callouts derived
DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.
- No fine-grained STIG row for CWE-326, a class-level weakness. Rules are authored against its narrower children: CWE-328.