Directory Traversal Vulnerability in Moodle Affecting Teachers and Admins
CVE-2022-35650

7.5HIGH

Key Information:

Vendor

Moodle

Status
Vendor
CVE Published:
25 July 2022

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

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.

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

.