CVE-2024-34007
PHP vulnerability analysis and mitigation

Overview

The vulnerability (CVE-2024-34007) affects the Multi-Factor Authentication (MFA) functionality in Moodle versions 4.3 to 4.3.3. The issue was discovered and reported by Petr Skoda, with the vulnerability being fixed in version 4.3.4. The core problem involves the logout option within MFA lacking the necessary security token to prevent Cross-Site Request Forgery (CSRF) attacks (Moodle Forum).

Technical details

The vulnerability is classified as a Cross-Site Request Forgery (CSRF) issue, specifically affecting the logout functionality in the MFA system. The absence of a required security token in the logout option made it possible for users to be inadvertently logged out through CSRF attacks. The vulnerability has been assigned a CVSS v3.1 Base Score of 8.8 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability could allow attackers to force users to be logged out of their sessions without their consent. This unauthorized logout could disrupt user sessions and potentially lead to service interruption for affected users (Moodle Forum).

Exploitability

The vulnerability requires user interaction to be exploited, as indicated by the CVSS vector (UI:R). An attacker could potentially craft a malicious request that, when encountered by a user, would trigger an unauthorized logout (NVD).

Mitigation and workarounds

The vulnerability has been fixed in Moodle version 4.3.4. Users and administrators are advised to upgrade to this version or later to address the security issue (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

GHSA-8cfw-pcwh-v63wHIGH8.4
  • PHP logoPHP
  • winter/wn-system-module
NoYesAug 20, 2026
GHSA-p2ch-c2c3-4xm5MEDIUM6.1
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026
GHSA-fm29-4mq3-phg6MEDIUM5.3
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026
GHSA-hq84-x37p-j6q5MEDIUM4.5
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026
GHSA-mpmw-f6h6-3g26MEDIUM4.3
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 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