Cyber Resilience

CVE-2024-38275

Moodle ≤ 4.1.11

Published
18 June 2024
Modified
30 April 2025
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.0044 37th percentile
Risk Priority 59 floored blend · peak EPSS

Summary

CVE-2024-38275 is a high-severity Sensitive Information in Resource Not Removed Before Reuse (CWE-226) vulnerability in Moodle Moodle. Its CVSS base score is 7.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique OS Credential Dumping (T1003); ranked at the 37th 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 MP-6 (Media Sanitization) and SA-11 (Developer Testing and Evaluation) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

The cURL wrapper in Moodle retained the original request headers when following redirects, so HTTP authorization header information could be unintentionally sent in requests to redirect URLs.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1003 OS Credential Dumping Credential Access
Adversaries may attempt to dump credentials to obtain account login and credential material, normally in the form of a hash or a clear text password.
T1552 Unsecured Credentials Credential Access
Adversaries may search compromised systems to find and obtain insecurely stored credentials.
T1552.001 Credentials In Files Credential Access
Adversaries may search local file systems and remote file shares for files containing insecurely stored credentials.
T1552.002 Credentials in Registry Credential Access
Adversaries may search the Registry on compromised systems for insecurely stored credentials.
T1552.004 Private Keys Credential Access
Adversaries may search for private key certificate files on compromised systems for insecurely stored credentials.
T1003.001 LSASS Memory Credential Access
Adversaries may attempt to access credential material stored in the process memory of the Local Security Authority Subsystem Service (LSASS).
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-43429Same product: Moodle Moodle
CVE-2024-43427Same product: Moodle Moodle
CVE-2025-26525Same product: Moodle Moodle
CVE-2023-1402Same product: Moodle Moodle
CVE-2024-34002Same product: Moodle Moodle
CVE-2024-34005Same product: Moodle Moodle
CVE-2024-34003Same product: Moodle Moodle
CVE-2025-62400Same product: Moodle Moodle
CVE-2025-3628Same product: Moodle Moodle
CVE-2024-48900Same product: Moodle Moodle

Affected Assets

moodle
moodle
4.4.0 · ≤ 4.1.11 · 4.2.0 — 4.2.8 · 4.3.0 — 4.3.5

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 4 hardening rules · 4 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V14.2.8
  • V14.3.1
  • V6.4.1

Mitigating Controls (NIST 800-53 r5) AI

MP-6 requires sanitization of media before release for reuse, directly stopping sensitive data from remaining in resources made available to others.

Developer testing and evaluation can discover incomplete cleanup through dynamic analysis or resource-leak testing.

SC-4 requires preventing unintended information transfer through shared system resources such as memory, which is achieved by clearing data before reuse.

Non-persistence mechanisms explicitly initiate resources in a known state and terminate them, directly enforcing cleanup.

Session termination forces explicit release of session-related temporary resources.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.DS-10 full match
prevents

Explicit example calls for removing confidential data (e.g., from process memory) after use, directly preventing reuse of uncleared resources.

PR.PS-06 mostly match
prevents

Secure-development practices and coding standards normally require proper resource release and cleanup.

ID.AM-08 partial match
prevents

Life-cycle management encompasses disposal of temporary resources but does not specifically target runtime cleanup bugs.

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

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

degrades

Explicitly requires secure deletion of information before resources are reused or disposed.

prevents

Mandates secure disposal or re-use of equipment, covering media sanitization but not in-memory reuse.

finds

Security testing can detect failures to sanitize resources before reuse.

prevents

Secure SDLC includes requirements for clearing sensitive data during resource lifecycle transitions.

prevents

Secure coding practices can prevent leaving sensitive data in memory or files before reuse.

finds

Change-management processes may require cleanup verification, but the control itself does not address the weakness.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over `controls_xwalks` (authoritative rows only; rows rated `none` are excluded).

Oracle Linux 8 (1 rule)
  • V-248579 OL 8 must restrict access to the kernel message buffer. prevents CWE-226
Oracle Linux 9 (1 rule)
  • V-271745 OL 9 must restrict access to the kernel message buffer. prevents CWE-226
RHEL 8 (1 rule)
  • V-230269 RHEL 8 must restrict access to the kernel message buffer. prevents CWE-226
RHEL 9 (1 rule)
  • V-257797 RHEL 9 must restrict access to the kernel message buffer. prevents CWE-226

References