CVE-2022-35650

HIGH

Moodle 3.9.0-3.9.14 - Authenticated Path Traversal via Lesson Question Import

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2022-35650. PoCs published by Gr4y-r0se.

AI-analyzed exploit summary This repository contains a functional exploit for CVE-2022-35650, an arbitrary file read vulnerability in Moodle. The exploit leverages a flawed import feature in the 'Question Bank' to read sensitive files like `/etc/passwd` or `config.php` by manipulating the `imsmanifest.xml` and `pool.dat` files.

Description

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.

Exploits (1)

nomisec WORKING POC
by Gr4y-r0se · poc
https://github.com/Gr4y-r0se/CVE-2022-35650

This repository contains a functional exploit for CVE-2022-35650, an arbitrary file read vulnerability in Moodle. The exploit leverages a flawed import feature in the 'Question Bank' to read sensitive files like `/etc/passwd` or `config.php` by manipulating the `imsmanifest.xml` and `pool.dat` files.

Classification
Working Poc 90%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Moodle (version not specified)
Auth required
Prerequisites: Compromised teacher or admin-level user credentials · Write access to a course
devstral-2 · analyzed Apr 16, 2026 Full analysis →

References (5)

Core 5

Scores

CVSS v3 7.5
EPSS 0.0044
EPSS Percentile 63.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Details

CWE
CWE-22 CWE-20
Status published
Products (4)
fedoraproject/fedora 35
fedoraproject/fedora 36
moodle/moodle 3.9 - 3.9.15Packagist
moodle/moodle 3.9.0 - 3.9.15
Published Jul 25, 2022
Tracked Since Feb 18, 2026