Skip to main content
EPSS 0.5%top 62%

moodle: CSRF risks due to misuse of confirm_sesskey (CVE-2024-38276)

0
High
Published: 08/09/2024 (08/09/2024, 07:26:18 UTC)
Source: GCVE Database
Product: moodle

Description

Multiple cross-site request forgery (CSRF) risks exist in Moodle due to incorrect checks of the confirm_sesskey token. This vulnerability affects several Moodle versions prior to specific patched releases. The issue allows unauthorized actions to be performed by attackers exploiting improper CSRF token validation.

Affected software

Bitnamimore threats →ghsa
moodle
pkg:bitnami/moodle
Affected versions
<4.1.10>=4.2.0 <4.2.8>=4.3.0 <4.3.5>=4.4.0 <4.4.1

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:43:14 UTC

Technical Analysis

CVE-2024-38276 describes a vulnerability in Moodle where incorrect CSRF token checks related to the confirm_sesskey function result in multiple CSRF risks. This flaw affects Moodle versions before 4.1.10, versions from 4.2.0 up to but not including 4.2.8, versions from 4.3.0 up to but not including 4.3.5, and versions from 4.4.0 up to but not including 4.4.1. The vulnerability allows attackers to bypass CSRF protections, potentially enabling unauthorized state-changing requests.

Potential Impact

The vulnerability enables attackers to perform unauthorized actions on behalf of authenticated users by exploiting improper CSRF token validation. This can lead to unauthorized changes within the Moodle platform, impacting the integrity of user actions and potentially the security of the affected system.

Mitigation Recommendations

A patch is available for this vulnerability. Users should upgrade Moodle to versions 4.1.10 or later, 4.2.8 or later, 4.3.5 or later, or 4.4.1 or later to remediate the issue. Applying these updates will correct the confirm_sesskey token validation and eliminate the CSRF risks.

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-38276
Osv Schema Version
1.5.0
Aliases
["CVE-2024-38276"]
Ecosystems
["Bitnami"]
Database Specific Severity
High

Threat ID: 6aa00617acd9273b49ab7781

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

Last enriched: 09/08/2026, 13:43:14 UTC

Last updated: 09/10/2026, 19:55:56 UTC

Views: 13

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