CVE-2021-3943
PHP vulnerability analysis and mitigation

Overview

A remote code execution vulnerability (CVE-2021-3943) was identified in Moodle versions 3.11 to 3.11.3, 3.10 to 3.10.7, 3.9 to 3.9.10, and earlier unsupported versions. The vulnerability was discovered by Paul Holden and disclosed on November 15, 2021 (Moodle Forum).

Technical details

The vulnerability presents a remote code execution risk specifically when restoring backup files in Moodle. The severity is rated as 8.0 CVSS with a vector of (AV:N/AC:L/Au:N/C:P/I:P/A:P), indicating a serious security risk (Rapid7).

Impact

The vulnerability could allow attackers to execute arbitrary code remotely through malformed backup files, potentially compromising the integrity and security of affected Moodle installations (Moodle Forum).

Exploitability

The vulnerability requires the ability to restore backup files in Moodle. No specific details about exploitation in the wild have been publicly disclosed (CVE).

Mitigation and workarounds

The vulnerability has been fixed in Moodle versions 3.11.4, 3.10.8, and 3.9.11. Users are advised to upgrade to these patched versions to mitigate the risk (Moodle Forum).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-77143HIGH8.8
  • PHP logoPHP
  • composer://jweiland/pforum
NoYesAug 25, 2026
CVE-2026-77142HIGH8.8
  • PHP logoPHP
  • composer://jweiland/yellowpages2
NoYesAug 25, 2026
CVE-2026-77146HIGH8.3
  • PHP logoPHP
  • composer://in2code/femanager
NoYesAug 25, 2026
CVE-2026-77145HIGH7.1
  • PHP logoPHP
  • composer://jweiland/events2
NoYesAug 25, 2026
CVE-2026-77144HIGH7.1
  • PHP logoPHP
  • composer://jweiland/events2
NoYesAug 25, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management