Affected versions
Composermoodle/moodle
- Affected versions
- = 2.4
- Fixed version
- 2.4.1
Composermoodle/moodle
- Affected versions
- >= 2.1, <= 2.1.9
- Fixed version
- 2.1.10
Composermoodle/moodle
- Affected versions
- >= 2.3, <= 2.3.3
- Fixed version
- 2.3.4
Composermoodle/moodle
- Affected versions
- >= 2.2, <= 2.2.6
- Fixed version
- 2.2.7
Exploitation
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.
Links
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-36977
- http://openwall.com/lists/oss-security/2013/01/21/1
- https://github.com/advisories/GHSA-cr78-rphw-w73p
- https://github.com/moodle/moodle
- https://github.com/moodle/moodle/commit/0ab681d3e7bed2a37430387f9da8504c0b077d10
- https://github.com/moodle/moodle/commit/7b66137f7bcc84fb5eb07f58fb658b21bf37cc44
- https://moodle.org/mod/forum/discuss.php?d=220160
- https://nvd.nist.gov/vuln/detail/CVE-2012-6099

