CVE-2024-34003Moodle
Medium 5.9
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- Priority
- 35
- CVSS 3.1
- 5.9
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 43
- Auth required
- Yes
- Published
- May 31, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-200
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L
What happens
In a shared hosting environment that has been misconfigured to allow access to other users' content, a Moodle user with both access to restore workshop modules and direct access to the web server outside of the Moodle webroot could execute a local file include.
What to do
- Apply the vendor's security update for Moodle.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | moodle/moodle |
≥ 4.3.0 < 4.3.4 |
4.3.4 |
composer require "moodle/moodle:^4.3.4" |
| Packagist | moodle/moodle |
≥ 4.2.0 < 4.2.7 |
4.2.7 |
composer require "moodle/moodle:^4.2.7" |
| Packagist | moodle/moodle |
< 4.1.10 |
4.1.10 |
composer require "moodle/moodle:^4.1.10" |
Per OSV / GitHub Advisories (GHSA-jg4f-8w9x-jv35). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | < 4.1.10 |
| moodle | moodle | ≥ 4.2.0 < 4.2.7 |
| moodle | moodle | ≥ 4.3.0 < 4.3.4 |
Official sources
References
Links published by the sources. Open them with care.
- moodle.org Vendor Advisory