Moodle: Incomplete Cleanup
CVE-2024-38275 is a high-severity incomplete cleanup vulnerability in Moodle, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists version 4.4.1 as the first without the flaw, so updating Moodle to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.45% chance of exploitation within 30 days, which is low compared with other CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update Moodle to 4.4.1 or a later version.
- Read the advisory on moodle.org for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Moodle | Moodle | 4.4; 4.3 through 4.3.4; 4.2 through 4.2.7; 4.1 through 4.1.10; 4.1.0 through 4.1.10; 4.2.0 through 4.2.7; 4.3.0 through 4.3.4; 4.4.0 up to, but not including, 4.4.1 | 4.4.1 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- NoneNothing can be modified.
- Availability
- NoneAvailability is not affected.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. Scored by CISA (ADP).
Official description
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.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Incomplete Cleanup
The product does not properly clean up and remove temporary or supporting resources after they have been used.
How developers prevent this class of flaw
- Temporary files and other supporting resources should be deleted/released immediately after they are no longer needed.
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: yes, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Other vulnerabilities in Moodle
- 8.8 High severity
- 7.2 High severity
- 7.2 High severity
- 9.8 Critical severity
- 7.5 High severity
- 7.8 High severity
Recent Incomplete Cleanup vulnerabilities
- 7.4 High severity
- 7.5 High severity
- 7.5 High severity
- 8.8 High severity
- 7.5 High severity
- 7.8 High severity
Spotted an error? Tell us.