CVE-2024-34005Moodle
Medium 6.5
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 54
- 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:L/UI:N/S:U/C:H/I:N/A:N
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 database activity 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-r99q-hmqv-xw8w). 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