Loading...
Skip to main content

CVE-2024-34008 — Moodle CSRF risk in moodle/moodle — CVE Details

HIGH

Moodle CSRF risk in analytics management of models

Published May 31, 2024Updated May 15, 2025Source: osv

Summary

Actions in the admin management of analytics models did not include the necessary token to prevent a CSRF risk.

Advisory Timeline

  • First published May 31, 2024 (864 days ago).
  • Last revised May 15, 2025 — 349 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update moodle/moodle to 4.3.4 or later
composer require "moodle/moodle:^4.3.4"
Composer
Update moodle/moodle to 4.1.10 or later
composer require "moodle/moodle:^4.1.10"
Composer
Update moodle/moodle to 4.2.7 or later
composer require "moodle/moodle:^4.2.7"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (3)

Affects 1 ecosystem: packagist (1).

PackageEcosystemAffectedFixed In
moodle/moodle
packagist
v4.3.0, v4.3.1, v4.3.2, v4.3.34.3.4
moodle/moodle
packagist
v2.3.10, v2.3.11, v2.3.4, v2.3.5 (+338 more)4.1.10
moodle/moodle
packagist
v4.2.0, v4.2.1, v4.2.2, v4.2.3 (+3 more)4.2.7

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-352
    Cross-Site Request Forgery (CSRF)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2024-34008?
Moodle CSRF risk in analytics management of models This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
How do I check if my project is affected by CVE-2024-34008?
CVE-2024-34008 affects moodle/moodle. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-34008 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.8

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-68x5-4jg5-gjgg
BIT-moodle-2024-34008

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies