Skip to content
OpenAdvisories
Medium CVE-2012-6099 EUVD-2022-3622GHSA-cr78-rphw-w73p

Moodle Arbitrary File Read via Backup Functionality

Published Jan 27, 2013 · Updated Sep 17, 2024 · Assigned by redhat

Description

The moodle1 backup converter in backup/converter/moodle1/lib.php in Moodle 2.1.x before 2.1.10, 2.2.x before 2.2.7, 2.3.x before 2.3.4, and 2.4.x before 2.4.1 does not properly validate pathnames, which allows remote authenticated users to read arbitrary files by leveraging the backup-restoration feature.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist moodle/moodle >= 2.4, < 2.4.1 2.4.1 GHSA-cr78-rphw-w73p
Packagist moodle/moodle >= 2.3, < 2.3.4 2.3.4 GHSA-cr78-rphw-w73p
Packagist moodle/moodle >= 2.2, < 2.2.7 2.2.7 GHSA-cr78-rphw-w73p
Packagist moodle/moodle >= 2.1, < 2.1.10 2.1.10 GHSA-cr78-rphw-w73p

References