Moodle: moodle: improper validation in file restore functionality leading to remote code execution
A flaw was identified in Moodle’s backup restore functionality where specially crafted backup files were not properly validated during processing. If a malicious backup file is restored, it could lead to unintended execution of server-side code. Since restore capabilities are typically available to privileged users, exploitation requires authenticated access. Successful exploitation could result in full compromise of the Moodle server.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.2high · scored by CNA · CWE-94
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 4.5.9
- >= 5.0.0, < 5.0.5
- >= 5.1.0, < 5.1.2
Fixed in 4.5.9, 5.0.5, 5.1.2
Mitigation
Upgrade the affected product to 4.5.9 or 5.0.5 or 5.1.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.