Path traversal in Moodle - CVE-2022-35650

 

Path traversal in Moodle - CVE-2022-35650

Published: July 19, 2022


Vulnerability identifier: #VU65407
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-35650
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when importing lesson questions. A remote user can send a specially crafted HTTP request and read arbitrary files on the system.


Affected software

Moodle
Fedora
moodle

How to mitigate CVE-2022-35650

Install update from vendor's website.

Moodle - addressed in versions 3.9.15, 3.11.8, 4.0.2
moodle - addressed in versions 3.11.8-1.fc35, 3.11.8-1.fc36

External References

Related Security Bulletins