CVE-2024-34002
PHP vulnerability analysis and mitigation

Overview

CVE-2024-34002 is a Local File Inclusion (LFI) vulnerability discovered in Moodle's feedback module. The vulnerability affects Moodle versions 4.0 to 4.3.3, 4.2 to 4.2.6, 4.1 to 4.1.9, and earlier unsupported versions. The issue was discovered by Vincent Schneider (cli-ish) and was fixed in versions 4.3.4, 4.2.7, and 4.1.10 (Moodle Forum).

Technical details

The vulnerability exists in shared hosting environments that have been misconfigured to allow access to other users' content. A Moodle user with both access to restore feedback modules and direct access to the web server outside of the Moodle webroot could execute a local file include. The vulnerability has been classified as CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) and has received a CVSS v3.1 score of 6.5 (MEDIUM) with vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N (NVD).

Impact

The vulnerability could allow an authenticated attacker to execute a local file include in misconfigured shared hosting environments, potentially exposing sensitive information to unauthorized actors (NVD).

Exploitability

The vulnerability requires an authenticated user with specific permissions (access to restore feedback modules) and access to the web server outside of the Moodle webroot. The attack is only possible in shared hosting environments that have been misconfigured to allow access to other users' content (Moodle Forum).

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 versions or later to mitigate the risk. Organizations using earlier unsupported versions should upgrade to a supported version with the security fix (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-85400HIGH7.5
  • PHP logoPHP
  • composer://typo3/cms-lowlevel
NoYesSep 08, 2026
CVE-2026-53637MEDIUM6.5
  • PHP logoPHP
  • sylius/sylius
NoYesSep 08, 2026
CVE-2026-53639MEDIUM6.3
  • PHP logoPHP
  • sylius/sylius
NoYesSep 08, 2026
CVE-2026-77132MEDIUM5.3
  • PHP logoPHP
  • cpe:2.3:a:typo3:typo3
NoYesSep 08, 2026
CVE-2026-53638MEDIUM4.3
  • PHP logoPHP
  • sylius/sylius
NoYesSep 08, 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