module

Moodle Remote Code Execution (CVE-2024-43425)

Disclosed
2024-08-27
Created
2024-12-06

Description

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.

Authors

Michael Heinzl
RedTeam Pentesting GmbH

Platform

Linux

Architectures

cmd

Module Options

To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:


msf > use exploit/linux/http/moodle_rce
msf exploit(moodle_rce) > show targets
...targets...
msf exploit(moodle_rce) > set TARGET < target-id >
msf exploit(moodle_rce) > show options
...show and set options...
msf exploit(moodle_rce) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.