Directory Traversal Vulnerability in Moodle Affecting Teachers and Admins
CVE-2022-35650
Key Information:
Badges
What is CVE-2022-35650?
A vulnerability exists in Moodle that stems from an input validation error occurring during the importation of lesson questions. This flaw allows for insufficient path checks, which can lead to arbitrary file reading via directory traversal attacks. It is important to note that access to this feature is typically limited to users with teacher, manager, or admin privileges, thereby restricting its impact. Nonetheless, a remote attacker could exploit this vulnerability to access unauthorized files on the server, highlighting the necessity for immediate remediation.
Affected Version(s)
Moodle Fixed in moodle 4.0.2, moodle 3.11.8, moodle 3.9.15
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.