Skip to content
OpenAdvisories
Medium · 6.5 Scanner template Public exploit CVE-2023-30943 BIT-moodle-2023-30943EUVD-2023-1440GHSA-22gj-8qj2-fj46

Moodle: tinymce loaders susceptible to arbitrary folder creation

Published May 2, 2023 · Updated Aug 2, 2024 · Assigned by fedora

Description

The vulnerability was found Moodle which exists because the application allows a user to control path of the older to create in TinyMCE loaders. A remote user can send a specially crafted HTTP request and create arbitrary folders on the system.

Affected products

VendorProductAffectedFixed
— moodle 4.1.0 – < 4.1.3 4.1.3

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS moodle No fix yet —
Ubuntu Pro 16.04 LTS moodle No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 3 repositories

  • d0rb/CVE-2023-30943 ★ 18 · Aug 31, 2023

    This repository contains combined exploits for two vulnerabilities in Moodle, a widely used open-source learning management system (LMS)

  • Chocapikk/CVE-2023-30943 ★ 14 · Sep 7, 2023

    A Python-based tool to detect the CVE-2023-30943 vulnerability in Moodle, which allows unauthorized folder creation via specially crafted requests in TinyMCE loaders.

  • RubyCat1337/CVE-2023-30943 ★ 2 · Mar 21, 2024

    CVE-2023-30943 (Moodle XSS)

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist moodle/moodle < 4.2.0-rc2 4.2.0-rc2 GHSA-22gj-8qj2-fj46

References