CVE-2021-36393 is an SQL injection vulnerability in Moodle. According to the provided content, the flaw exists in the library responsible for fetching a user's recent courses. Insufficient neutralization of attacker-controlled input in SQL query construction could allow crafted input to alter backend database queries executed by the application.
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.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository provides a proof-of-concept (PoC) exploit for CVE-2021-36393, an error-based blind SQL injection vulnerability in Moodle (versions 3.10.4, 3.11, 3.10 to 3.10.4, 3.9 to 3.9.7, and earlier unsupported versions). The exploit is implemented in JavaScript and is intended to be run in the browser console by an authenticated user on a vulnerable Moodle instance. The main file, script.js, contains functions to perform binary search and bit-shifting techniques to extract arbitrary data from the database via crafted AJAX POST requests to /lib/ajax/service.php. It can be used to steal quiz answers, user password hashes, and session IDs. The keep_session.js script is a helper to maintain the validity of a stolen session by periodically touching the session endpoint. The README.md provides usage instructions, example queries, and context about the vulnerability. No external network endpoints or IP addresses are hardcoded; all endpoints are relative to the Moodle instance being targeted. The exploit is a PoC and requires manual interaction, but demonstrates a powerful attack vector against affected Moodle installations.
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.