Skip to content
OpenAdvisories
High · 8.1 Scanner template Public exploit CVE-2024-43425 BIT-moodle-2024-43425EUVD-2024-3314GHSA-v6f4-v8h8-3c87

Moodle: remote code execution via calculated question types

Published Nov 7, 2024 · Updated Nov 7, 2024 · Assigned by fedora

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 products

VendorProductAffectedFixed
— moodle < 4.1.12, 4.2 – < 4.2.9, 4.3 – < 4.3.6, 4.4 – < 4.4.2 4.1.12

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS moodle No fix yet —
Ubuntu Pro 16.04 LTS moodle No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Exploit-DB 1

GitHub 5 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist moodle/moodle < 4.1.12 4.1.12 GHSA-v6f4-v8h8-3c87
Packagist moodle/moodle >= 4.2.0-beta, < 4.2.9 4.2.9 GHSA-v6f4-v8h8-3c87
Packagist moodle/moodle >= 4.3.0-beta, < 4.3.6 4.3.6 GHSA-v6f4-v8h8-3c87
Packagist moodle/moodle >= 4.4.0-beta, < 4.4.2 4.4.2 GHSA-v6f4-v8h8-3c87

Advisories 1

References