Vulnerability · Published Nov 7, 2024 · Assigned by fedora

CVE-2024-43425Moodle: remote code execution via calculated question types

High 8.1

In plain English

A high-severity code injection in moodle. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 87.5% (higher than 99.8% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)87.5%top 0.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling3Metasploit, Nuclei, Public PoC

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistmoodle/moodle4.1.12GHSA-v6f4-v8h8-3c87
Packagistmoodle/moodle4.2.9GHSA-v6f4-v8h8-3c87
Packagistmoodle/moodle4.3.6GHSA-v6f4-v8h8-3c87
Packagistmoodle/moodle4.4.2GHSA-v6f4-v8h8-3c87

Affected products (as reported)

VendorProductVersions
moodle 0 – before 4.1.124.2 – before 4.2.94.3 – before 4.3.64.4 – before 4.4.2

Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References