Security 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.0045 40th percentile
Risk Priority 59 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-2024-38275 is a high-severity Sensitive Information in Resource Not Removed Before Reuse (CWE-226) vulnerability in 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 40th 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

MITRE ATT&CK v20.0

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.
T1005 Data from Local System Collection
Adversaries may search local system sources, such as file systems, configuration files, local databases, virtual machine files, or process memory, to find files of interest and sensitive data prior to Exfiltration.
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.
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.
T1087 Account Discovery Discovery
Adversaries may attempt to get a listing of valid accounts, usernames, or email addresses on a system or within a compromised environment.
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-2025-62397Same product: Moodle Moodle
CVE-2024-48896Same product: Moodle Moodle
CVE-2024-45690Same product: Moodle Moodle
CVE-2024-43430Same product: Moodle Moodle
CVE-2025-53021Same product: Moodle Moodle
CVE-2023-35133Same product: Moodle Moodle
CVE-2025-67853Same product: Moodle Moodle
CVE-2025-62399Same product: Moodle Moodle
CVE-2025-26527Same 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.3.1
  • V6.4.1

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

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)

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-10 full match
blocks

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
blocks

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

ID.AM-08 partial match
blocks

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

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.

blocks

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

finds

Security testing can detect failures to sanitize resources before reuse.

prevents

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

prevents

A.8.30 carries its effect through the secure-coding and testing practices its contract requires of the supplier (8.25–8.29), so it reduces instances of CWE-226 in outsourced software code the way those practices do; the hardware manifestations (e.g., SoC register scrubbing, state-transition cleanup) are outside the clause's software-development reach, and even in software the practice is fallible, leaving a nameable remainder.

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 our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.

Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.

No rule maps to these weaknesses at full or mostly. Tick the option above to see the partial mappings.

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

References