Exploit database

Vulnerability

CVE-2024-43425

Moodle: remote code execution via calculated question types

Vulnerability details

Score
8.1
Severity
high

CVSS 3.1 · fedora

Vector string

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

Description

A flaw was found in Moodle. Additional restrictions are required to avoid a remote code execution risk in calculated question types. Note: This requires the capability to add/update questions.

CVE Program

Exploit source choices

6 sources
Moodle Remote Code Execution (CVE-2024-43425)
MSF-linux--http--moodle_rceMetasploitLinux / remote

This module exploits a command injection vulnerability in Moodle (CVE-2024-43425) to obtain remote code execution. Affected versions include 4.4 to 4.4.1, 4.3 to 4.3.5, 4.2 to 4.2.8, 4.1 to 4.1.11, and earlier unsupported versions.

2024-08-27moodle_rce.rb
snizi/moodle-cve-2024-43425-exploit
GH-fdec6711fa30de622ca075b7ba635d33GitHubUnofficial GitHub source

snizi/moodle-cve-2024-43425-exploit source repository

2025-02-073 files · 4 stars
kazuya256/moodle-authenticated-rce
GH-167f4428726c158a8790ea44888d7cdbGitHubUnofficial GitHub source

🚀 Exploit for Moodle 4.4.0 Authenticated RCE (CVE-2024-43425) — run commands remotely ⚡

2025-07-134 files · 2 stars
aninfosec/cve-2024-43425-poc
GH-7d63208ac3d730e20c1209edee967098GitHubUnofficial GitHub source

aninfosec/cve-2024-43425-poc source repository

2025-06-282 files · 0 stars