CVE-2024-43425 in the critical feed json
Moodle: remote code execution via calculated question types
published 2024-11-07 2 y ago modified 2026-09-08 2 mo ago also BIT-moodle-2024-43425 , EUVD-2024-3314 , GHSA-v6f4-v8h8-3c87
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 87.5%
- EPSS 87.5% chance of exploitation in 30 days, percentile 99.7%
- public exploits
- 2
- Metasploit, Exploit-DB, plus a Nuclei check
Summary
A flaw was found in Moodle. Additional restrictions are required to avoid a remote code execution risk in calculated question types. Note: This requires the capability to add/update questions.
Patch / fix
- packagist moodle/moodle 4.1.12, 4.2.9, 4.3.6, 4.4.2
- bitnami moodle 4.1.12, 4.2.9, 4.3.6, 4.4.2
- moodle moodle 4.1.12, 4.2.9, 4.3.6, 4.4.2
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-43425 updated cvss 8.1
moodle: Remote code execution via calculated question types
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (Metasploit exploit/linux/http/moodle_rce)
- Published
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
87.54% chance of exploitation in the next 30 days, higher than 99.7% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Metasploit exploit/linux/http/moodle_rce Moodle Remote Code Execution (CVE-2024-43425) metasploit exploit, excellent rank, 2024-08-27
- EDB-52350 Moodle 4.4.0 - Authenticated Remote Code Execution webapps, 2025-07-02
- Nuclei template Moodle - Remote Code Execution nuclei detection template
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | moodle/moodle | <4.1.12 >=4.2.0-beta, <4.2.9 >=4.3.0-beta, <4.3.6 >=4.4.0-beta, <4.4.2 |
4.1.12 4.2.9 4.3.6 4.4.2 |
| bitnami | moodle | <4.1.12 >=4.2.0, <4.2.9 >=4.3.0, <4.3.6 >=4.4.0, <4.4.2 |
4.1.12 4.2.9 4.3.6 4.4.2 |
Affected products
- moodle moodle
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
moodle.org
/mod/forum/discuss.php?d=461193
web, vendor-advisory, advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2304253
issue-tracking, web, permissions-required
-
nvd.nist.gov
/vuln/detail/CVE-2024-43425
advisory, web
-
github.com
/moodle/moodle
package
-
git.moodle.org
/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-82576
web
Sources
- CVE List CVE-2024-43425
- GitHub Advisory GHSA-v6f4-v8h8-3c87
- NVD CVE-2024-43425
- OSV BIT-moodle-2024-43425
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.