Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-43425

CVE-2024-43425: Moodle RCE Vulnerability

CVE-2024-43425 is a remote code execution vulnerability in Moodle affecting calculated question types. Attackers with question editing capabilities can exploit this flaw. This article covers technical details, affected versions, impact, and mitigation strategies.

Updated: January 22, 2026

CVE-2024-43425 Overview

A remote code execution vulnerability has been identified in Moodle's calculated question types functionality. The flaw stems from insufficient restrictions in the question handling mechanism, which could allow attackers to execute arbitrary code on affected Moodle installations. Exploitation of this vulnerability requires the capability to add or update questions within the learning management system.

Critical Impact

Remote code execution in Moodle calculated question types allows attackers with question management privileges to compromise the learning management system and potentially gain control of the underlying server.

Affected Products

  • Moodle LMS (multiple versions affected)
  • Moodle calculated question type module

Discovery Timeline

  • 2024-11-07 - CVE-2024-43425 published to NVD
  • 2025-05-01 - Last updated in NVD database

Technical Details for CVE-2024-43425

Vulnerability Analysis

This vulnerability is classified as CWE-94 (Improper Control of Generation of Code, also known as Code Injection). The flaw exists within Moodle's calculated question types feature, which allows educators to create mathematical questions with dynamically generated values. The vulnerability allows remote code execution when an attacker with question creation or modification privileges crafts a malicious calculated question.

The attack requires network access and exploits insufficient input validation in the question processing logic. While the attack complexity is considered high due to the prerequisite access requirements, successful exploitation can lead to complete system compromise with impacts to confidentiality, integrity, and availability of the affected system.

Root Cause

The root cause of this vulnerability lies in inadequate restrictions and input sanitization within the calculated question type processing engine. Moodle's calculated questions support mathematical formulas that are evaluated server-side, and the vulnerability exists because the formula evaluation mechanism does not properly restrict or sanitize inputs that could lead to code execution.

Attack Vector

The attack vector is network-based, requiring an authenticated user with permissions to add or update questions in Moodle. An attacker would need to:

  1. Authenticate to a vulnerable Moodle instance
  2. Navigate to the question management functionality
  3. Create or modify a calculated question type
  4. Inject malicious code through the formula or variable fields
  5. Trigger the evaluation of the malicious calculated question

The vulnerability allows attackers to break out of the intended mathematical evaluation context and execute arbitrary code on the server. This could lead to data theft, system compromise, or use of the server for further attacks.

Detection Methods for CVE-2024-43425

Indicators of Compromise

  • Unusual or suspicious calculated questions containing non-mathematical syntax or shell commands
  • Unexpected process execution originating from the Moodle web application
  • Anomalous network connections from the Moodle server to external hosts
  • Web application logs showing unusual POST requests to question creation/editing endpoints

Detection Strategies

  • Monitor Moodle question database tables for calculated questions containing suspicious patterns or escape sequences
  • Implement web application firewall (WAF) rules to detect code injection patterns in question creation requests
  • Review audit logs for unauthorized question creation or modification activities
  • Deploy endpoint detection and response (EDR) solutions to detect suspicious process spawning from web server processes

Monitoring Recommendations

  • Enable comprehensive logging for Moodle question management activities
  • Configure alerts for new calculated question creation by non-trusted users
  • Monitor server resource utilization for anomalies that might indicate exploitation
  • Implement file integrity monitoring on Moodle installation directories

How to Mitigate CVE-2024-43425

Immediate Actions Required

  • Review and restrict user permissions for question creation and modification capabilities
  • Audit existing calculated questions for potentially malicious content
  • Apply available security patches from Moodle immediately
  • Consider temporarily disabling calculated question types until patching is complete

Patch Information

Moodle has released security updates to address this vulnerability. Organizations should apply the latest security patches as soon as possible. Detailed information about the security fix is available in the Moodle Forum Discussion #461193. Additional technical details can be found in Red Hat Bug Report #2304253.

Workarounds

  • Restrict the moodle/question:add and moodle/question:editall capabilities to trusted users only
  • Implement network segmentation to limit the impact of potential exploitation
  • Deploy a web application firewall with rules to detect and block code injection attempts
  • Consider disabling calculated question types if not required for your educational environment
bash
# Example: Restrict question capabilities in Moodle (review and adjust for your environment)
# Access Site administration > Users > Permissions > Define roles
# Review and restrict the following capabilities for non-trusted roles:
# - moodle/question:add
# - moodle/question:editall
# - moodle/question:editmine
# Ensure only trusted educators have question management permissions

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMoodle

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability89.36%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-94
  • Technical References
  • Red Hat Bug Report #2304253
  • Vendor Resources
  • Moodle Forum Discussion #461193
  • Related CVEs
  • CVE-2026-26045: Moodle Backup Restore RCE Vulnerability

  • CVE-2026-26046: Moodle TeX Filter RCE Vulnerability

  • CVE-2025-67851: Moodle Formula Injection Vulnerability

  • CVE-2025-67847: Moodle Restore Interface RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English