CVE-2024-34004
PHP vulnerability analysis and mitigation

Overview

CVE-2024-34004 is a security vulnerability discovered in Moodle, affecting versions 4.0 to 4.3.3, 4.2 to 4.2.6, 4.1 to 4.1.9, and earlier unsupported versions. The vulnerability was discovered by Vincent Schneider and disclosed on May 13, 2024. The issue affects Moodle's wiki module functionality in shared hosting environments (Moodle Forum).

Technical details

The vulnerability allows a Moodle user with both access to restore wiki modules and direct access to the web server outside of the Moodle webroot to execute a local file include (LFI) in misconfigured shared hosting environments. This vulnerability is classified as serious according to Moodle's security assessment (Moodle Forum).

Impact

In a shared hosting environment that has been misconfigured to allow access to other users' content, an attacker could potentially execute a local file include, which could lead to unauthorized access to files on the system (NVD).

Mitigation and workarounds

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

Additional resources


SourceThis report was generated using AI

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