Skip to main content
EPSS 0.4%top 72%

moodle: logout CSRF in admin/tool/mfa/auth.php (CVE-2024-34007)

0
High
Published: 05/31/2025 (05/31/2025, 05:57:41 UTC)
Source: GCVE Database
Product: moodle

Description

A Cross-Site Request Forgery (CSRF) vulnerability exists in the logout option within the Multi-Factor Authentication (MFA) component of Moodle. Specifically, the logout function in admin/tool/mfa/auth.php lacks the necessary CSRF token, which could allow users to be logged out unintentionally via CSRF attacks. This affects Moodle versions from 4.3.0 up to but not including 4.3.4. A patch is available to address this issue.

Affected software

Bitnamimore threats →ghsa
moodle
pkg:bitnami/moodle
Affected versions
>=4.3.0 <4.3.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/08/2026, 13:44:06 UTC

Technical Analysis

The logout option in Moodle's MFA module (admin/tool/mfa/auth.php) does not include a CSRF token, exposing users to the risk of being logged out through CSRF attacks. This vulnerability affects Moodle versions >=4.3.0 and <4.3.4. The issue has been assigned CVE-2024-34007 and is rated with high severity. No CVSS score is provided. A patch is available to mitigate this vulnerability.

Potential Impact

Users of affected Moodle versions could be logged out without their intention if a malicious website triggers the logout request via CSRF. This could disrupt user sessions but does not directly lead to privilege escalation or data compromise based on the provided information.

Mitigation Recommendations

A patch is available for this vulnerability. Users should upgrade Moodle to version 4.3.4 or later where the CSRF token protection for the logout option in MFA is implemented. No additional mitigation steps are indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
BIT-moodle-2024-34007
Osv Schema Version
1.6.2
Aliases
["CVE-2024-34007"]
Ecosystems
["Bitnami"]
Database Specific Severity
High

Threat ID: 6aa00617acd9273b49ab778f

Added to database: 09/08/2026, 12:56:55 UTC

Last enriched: 09/08/2026, 13:44:06 UTC

Last updated: 09/10/2026, 19:36:48 UTC

Views: 17

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses