CVE-2022-0332 is an SQL injection vulnerability in Moodle 3.11 through 3.11.4. The H5P activity web service that fetches user attempt data insufficiently sanitizes user-controlled input in server.php. An attacker can use a UNION operator in injected SQL to retrieve data outside the intended query, including database-engine version information.
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 (1 hidden).
This repository provides a proof-of-concept (POC) exploit for CVE-2022-0332, a SQL injection vulnerability in Moodle versions 3.11 to 3.11.4. The exploit is demonstrated via a crafted HTTP GET request to the 'webservice/rest/server.php' endpoint, leveraging the 'sortorder' parameter in the 'mod_h5pactivity_get_user_attempts' web service function. The README includes the full HTTP request, which requires a valid web service token (wstoken) and targets a specific Moodle instance. No executable code is present; the repository consists of a README file with the exploit details and illustrative images. The main attack vector is network-based, exploiting a web service endpoint. The repository is structured as a simple POC and does not include automation or scripts.
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.
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
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.