CVE-2022-35650: Input Validation

Published Jul 12, 2022
·
Updated

Insufficient path checks in a lesson question import resulted in an arbitrary file read risk. The capability to access this feature is only available to teachers, managers and admins by default.

Versions affected: 4.0 to 4.0.1, 3.11 to 3.11.7, 3.9 to 3.9.14 and earlier unsupported versions Versions fixed: 4.0.2, 3.11.8 and 3.9.15

Other sources

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.

GitHub

Affected Software

11 affected componentsFixes available
composer/moodle/moodle>=4.0<4.0.2
4.0.2
composer/moodle/moodle>=3.11<3.11.8
3.11.8
composer/moodle/moodle>=3.9<3.9.15
3.9.15
redhat/moodle<4.0.2
4.0.2
redhat/moodle<3.11.8
3.11.8
redhat/moodle<3.9.15
3.9.15
Moodle moodle>=3.9.0<3.9.15
Moodle moodle>=3.11.0<3.11.8
Moodle moodle>=4.0.0<4.0.2
Fedoraproject Fedora=35
Fedoraproject Fedora=36

Event History

Jul 25, 2022
CVE Published
via MITRE·03:29 PM
Data Sourced
via MITRE·03:29 PM
DescriptionWeakness
Jul 26, 2022
Advisory Published
via GitHub·12:00 AM

Frequently Asked Questions

1

What is CVE-2022-35650?

CVE-2022-35650 is a vulnerability found in Moodle that occurs due to input validation error when importing lesson questions.

2

What is the severity of CVE-2022-35650?

The severity of CVE-2022-35650 is high with a CVSS score of 7.5.

3

How does CVE-2022-35650 affect Moodle?

CVE-2022-35650 allows a remote attacker to perform directory traversal attacks by exploiting a path traversal vulnerability in Moodle.

4

Which versions of Moodle are affected by CVE-2022-35650?

Versions 3.9.0 to 3.9.15, 3.11.0 to 3.11.8, and 4.0.0 to 4.0.2 of Moodle are affected by CVE-2022-35650.

5

How can I fix the CVE-2022-35650 vulnerability in Moodle?

To fix the CVE-2022-35650 vulnerability in Moodle, you should update to version 3.9.15, 3.11.8, or 4.0.2.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203