CVE-2022-35650
Exploitation likely. EPSS gives it a 54% chance of exploitation in the next 30 days. Fixed in 3.9.15.
What to do
Find your product and version, then upgrade to the build on the right.
- n/a MoodleAffected: Fixed in moodle 4.0.2, moodle 3.11.8, moodle 3.9.15Upgrade to: not statedStated by: CVE record
- Packagist moodle/moodleAffected: ≥ 3.9, < 3.9.15Upgrade to: 3.9.15Stated by: GitHub advisory
- MoodleAffected: ≥ 3.9.0, < 3.9.15Upgrade to: 3.9.15Stated by: NVD
- Fedora Project FedoraAffected: 35Upgrade to: not statedStated by: BDU
- ООО «Ред Софт» РЕД ОСAffected: 7.3Upgrade to: not statedStated by: BDU
Versions as the sources state them. 2 more products have version data. Full version matrix after sign-in
Steps
Written by AI from the record- Check which version of Moodle you are running (visible in the admin dashboard footer or Site administration > Server > Environment).
- If you are on a version older than 3.9.15, 3.11.8, or 4.0.2, plan an upgrade.
- Update Moodle to 3.9.15, 3.11.8, or 4.0.2 (whichever matches your current branch) as soon as possible.
- In the meantime, limit who has teacher, manager, or admin accounts, since only those roles can trigger the issue.
- After updating, confirm the lesson import feature works normally and review recent lesson imports for anything suspicious.
composer require moodle/moodle:>=3.9.15What it is
From the CVE record
The vulnerability was found in Moodle, occurs due to input validation error when importing lesson questions. This insufficient path checks results in arbitrary file read risk. This vulnerability allows a remote attacker to perform directory traversal attacks. The capability to access this feature is only available to teachers, managers and admins by default.
In plain language
Written by AI from the recordA flaw in Moodle's lesson question import feature lets certain logged-in users (teachers, managers, admins) read files on the server they shouldn't be able to; it's fixed in version 3.9.15 and later, and small businesses running Moodle for training or courses should update soon.
Path traversal / improper input validation (CWE-22, CWE-20) in Moodle's lesson question import function allows a user with teacher/manager/admin privileges to read arbitrary files on the server, fixed in 3.9.15, 3.11.8, and 4.0.2.
If you're affected
- Server configuration file exposure
- Leaked credentials or secrets
- Student/customer data exposure
- Reputational damage from data leak
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
54% chance of exploitation activity in the next 30 days, which ranks it in the 99th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
9 events over 1539 days, from the signal feeds we watch.
- EPSS band changemoderate → highepss band change
- OpenVAS check added
- EPSS band changelow → moderate
- Patch availablerecord updated
- Publishedweakness classified, att&ck mapped
Affected products
And 2 more affected products. See all after sign-in
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Scored 7.5 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity NoneNo integrity impact
- Availability NoneNo availability impact
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-72029&
- bugzilla.redhat.com/show_bug.cgi?id=2106274&
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3/&
And 13 more references. See all after sign-in
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Fedora, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI