Skip to content

CVE-2022-35650 Moodle Arbitrary file read when importing lesson questions

HighCVSS 7.5 EPSS 1.6%
Published
Updated
Exploit status
No public exploit known
Technology
PHPUbuntu

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.

Upgrade path

5 packages: 2 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/moodle(Ubuntu Pro 16.04) = 2.7.9+dfsg-1; = 2.7.10+dfsg-1; = 2.7.11+dfsg-1; = 2.7.11+dfsg-2 +4 more No fix listed No fix yet
ubuntu/moodle(Ubuntu Pro 18.04) = 3.0.3+dfsg-0ubuntu1; = 3.0.3+dfsg-0ubuntu1+esm1; All versions No fix listed No fix yet
moodle/moodle >= 3.9.0, < 3.9.15; >= 3.11.0, < 3.11.8; >= 4.0.0, < 4.0.2 3.9.15, 3.11.8, 4.0.2 Fixed
moodle/moodle(Packagist) = v3.9.0; = v3.9.0-beta; = v3.9.0-rc1; = v3.9.0-rc2 +36 more 3.9.15, 3.11.8, 4.0.2 Fixed
fedoraproject fedora = 35; = 36 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
moodle/moodle(Packagist) >= 3.9, < 3.9.15 3.9.15
moodle/moodle(Packagist) = v3.9.0 No fix listed
moodle/moodle(Packagist) = v3.9.0-beta No fix listed
moodle/moodle(Packagist) = v3.9.0-rc1 No fix listed
moodle/moodle(Packagist) = v3.9.0-rc2 No fix listed
moodle/moodle(Packagist) = v3.9.0-rc3 No fix listed
moodle/moodle(Packagist) = v3.9.1 No fix listed
moodle/moodle(Packagist) = v3.9.10 No fix listed
moodle/moodle(Packagist) = v3.9.11 No fix listed
moodle/moodle(Packagist) = v3.9.12 No fix listed
moodle/moodle(Packagist) = v3.9.13 No fix listed
moodle/moodle(Packagist) = v3.9.14 No fix listed
moodle/moodle(Packagist) = v3.9.2 No fix listed
moodle/moodle(Packagist) = v3.9.3 No fix listed
moodle/moodle(Packagist) = v3.9.4 No fix listed
moodle/moodle(Packagist) = v3.9.5 No fix listed
moodle/moodle(Packagist) = v3.9.6 No fix listed
moodle/moodle(Packagist) = v3.9.7 No fix listed
moodle/moodle(Packagist) = v3.9.8 No fix listed
moodle/moodle(Packagist) = v3.9.9 No fix listed
moodle/moodle(Packagist) >= 3.11, < 3.11.8 3.11.8
moodle/moodle(Packagist) = v3.11.0 No fix listed
moodle/moodle(Packagist) = v3.11.0-beta No fix listed
moodle/moodle(Packagist) = v3.11.0-rc1 No fix listed
moodle/moodle(Packagist) = v3.11.0-rc2 No fix listed
Show 31 more
ProductAffected versionsFixed in
moodle/moodle(Packagist) = v3.11.1 No fix listed
moodle/moodle(Packagist) = v3.11.2 No fix listed
moodle/moodle(Packagist) = v3.11.3 No fix listed
moodle/moodle(Packagist) = v3.11.4 No fix listed
moodle/moodle(Packagist) = v3.11.5 No fix listed
moodle/moodle(Packagist) = v3.11.6 No fix listed
moodle/moodle(Packagist) = v3.11.7 No fix listed
moodle/moodle(Packagist) >= 4.0, < 4.0.2 4.0.2
moodle/moodle(Packagist) = v4.0.0 No fix listed
moodle/moodle(Packagist) = v4.0.0-beta No fix listed
moodle/moodle(Packagist) = v4.0.0-rc1 No fix listed
moodle/moodle(Packagist) = v4.0.0-rc2 No fix listed
moodle/moodle(Packagist) = v4.0.0-rc3 No fix listed
moodle/moodle(Packagist) = v4.0.0-rc4 No fix listed
moodle/moodle(Packagist) = v4.0.1 No fix listed
moodle/moodle >= 3.9.0, < 3.9.15 3.9.15
moodle/moodle >= 3.11.0, < 3.11.8 3.11.8
moodle/moodle >= 4.0.0, < 4.0.2 4.0.2
fedoraproject fedora = 35 No fix listed
fedoraproject fedora = 36 No fix listed
ubuntu/moodle(Ubuntu:Pro:16.04) All versions No fix listed
ubuntu/moodle(Ubuntu:Pro:16.04) = 2.7.9+dfsg-1 No fix listed
ubuntu/moodle(Ubuntu:Pro:16.04) = 2.7.10+dfsg-1 No fix listed
ubuntu/moodle(Ubuntu:Pro:16.04) = 2.7.11+dfsg-1 No fix listed
ubuntu/moodle(Ubuntu:Pro:16.04) = 2.7.11+dfsg-2 No fix listed
ubuntu/moodle(Ubuntu:Pro:16.04) = 2.7.12+dfsg-1 No fix listed
ubuntu/moodle(Ubuntu:Pro:16.04) = 3.0.3+dfsg-0ubuntu1 No fix listed
ubuntu/moodle(Ubuntu:Pro:16.04) = 3.0.3+dfsg-0ubuntu1+esm1 No fix listed
ubuntu/moodle(Ubuntu:Pro:18.04) All versions No fix listed
ubuntu/moodle(Ubuntu:Pro:18.04) = 3.0.3+dfsg-0ubuntu1 No fix listed
ubuntu/moodle(Ubuntu:Pro:18.04) = 3.0.3+dfsg-0ubuntu1+esm1 No fix listed

References