CVE-2023-30943 is a vulnerability in Moodle where the application allows a user to control the path of the folder to create in TinyMCE loaders. This enables a remote attacker to send a specially crafted HTTP request to create arbitrary folders on the system, potentially outside the intended directory structure.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
2 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos (1 hidden).
This repository contains a single Python exploit script (CVE-2023-30943.py) and a README.md with a disclaimer. The exploit targets Moodle installations vulnerable to CVE-2023-30943. The script demonstrates three main attack vectors: (1) Unauthenticated arbitrary folder creation in the Moodle web root, which can be leveraged for stored XSS by crafting malicious file paths; (2) Construction of a malicious OAuth2 confirmation URL that can be used in a self-XSS attack to take over accounts; (3) Hints at remote code execution by creating arbitrary folders and mentioning code execution payloads, though the actual RCE payload is not implemented. The script uses hardcoded values and is structured as a proof-of-concept, requiring further development for weaponization. Several fingerprintable endpoints are present, including file paths within the Moodle web root and a crafted OAuth2 confirmation URL. The repository is intended for educational purposes and demonstrates the exploitation process for CVE-2023-30943.
This repository contains a combined proof-of-concept exploit for two vulnerabilities in Moodle (CVE-2023-30943): (1) Unauthenticated Arbitrary Folder Creation leading to stored XSS, and (2) Self-XSS leading to potential account takeover. The main exploit file, PoC.php, demonstrates how an attacker can create arbitrary folders on the Moodle server (e.g., under /var/www/html/localcachedir/editor_tiny/) and inject XSS payloads (such as <img src=x onerror=alert(1)>) that are executed when an administrator visits certain panels. It also crafts a malicious OAuth2 confirmation link that, if visited by a victim, triggers self-XSS and could allow account takeover. The exploit is a proof-of-concept and does not contain a full remote code execution payload, but includes placeholders for such code. The repository is structured with a single PHP exploit file and a README describing the vulnerabilities, affected versions, and usage instructions. The exploit targets specific file paths and a crafted URL endpoint within a Moodle instance, and is intended for educational and security research purposes only.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.