GitHub Advisoryadvisory · Packagist

GHSA-pgm5-cr62-prxq Moodle Arbitrary file read when importing lesson questions

HIGH Published 2022-07-26 Modified 2024-04-23 Official page ↗
Aliases
CVE-2022-35650
Ecosystem
Packagist
Packages
moodle/moodle
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-20
Reviewed
2024-04-23

Affected packages

• Packagist moodle/moodle: >= 3.9, < 3.9.15 → fixed in 3.9.15 • Packagist moodle/moodle: >= 3.11, < 3.11.8 → fixed in 3.11.8 • Packagist moodle/moodle: >= 4.0, < 4.0.2 → fixed in 4.0.2

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.

Related

Alias · CVE (1)

  • CVE-2022-35650 The vulnerability was found in Moodle, occurs due to input validation error when importing lesson questions. vulnerability

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References