module

Moodle Admin Shell Upload

Disclosed
2019-04-28
Created
2021-10-12

Description

This module will generate a plugin which can receive a malicious
payload request and upload it to a server running Moodle
provided valid admin credentials are used. Then the payload
is sent for execution, and the plugin uninstalled.

You must have an admin account to exploit this vulnerability.

Successfully tested against 3.6.3, 3.8.0, 3.9.0, 3.10.0, 3.11.2

Authors

AkkuS Özkan Mustafa Akkuş
h00die

Platform

PHP

Architectures

php

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/multi/http/moodle_admin_shell_upload
msf exploit(moodle_admin_shell_upload) > show targets
...targets...
msf exploit(moodle_admin_shell_upload) > set TARGET < target-id >
msf exploit(moodle_admin_shell_upload) > show options
...show and set options...
msf exploit(moodle_admin_shell_upload) > 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.