Patchfirst
CVE-2024-43425 Public exploit High · 8.1 EPSS 87.5%

Moodle: remote code execution via calculated question types

Fix:upgrade moodle to 4.4.2 or later Details ↓

Summary

The flaw is in Moodle's calculated question types, where missing restrictions allow code generated from question content to be executed remotely. An attacker who can add or update questions can exploit it over the network, without needing user interaction, to achieve remote code execution.

Official description · CVE.org

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.

Breakdown
32.0 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Public exploit code (PoC-in-GitHub) was available 3 months before disclosure.

  1. Public exploit codePoC-in-GitHub3 mo before
  2. Disclosedday 0

Affected versions and fixes

as published in the CVE record

Affected product

Affected: < 4.1.12 · >= 4.2, < 4.2.9 · >= 4.3, < 4.3.6 · >= 4.4, < 4.4.2

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: moodle/moodle.

Packagistmoodle/moodleGHSA-v6f4-v8h8-3c87

Upgrade to 4.4.2 or later

Set the version to 4.4.2 or later in your composer.json.

The first fix for CVE-2024-43425.

Affected versions, by release line

If you runUpgrade to
4.4.0-beta up to 4.4.24.4.2
4.3.0-beta up to 4.3.64.3.6
4.2.0-beta up to 4.2.94.2.9
All versions before 4.1.124.1.12

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 3 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

2 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close