CVE-2012-6099
MEDIUM 4.0CVSS 2.0Moodle Arbitrary File Read via Backup Functionality
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.
- Published
- 27 Jan 2013
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-cr78-rphw-w73p
- Sources
- NVDJSONOSV GHSA-cr78-rphw-w73pJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.1.0:*:*:*:*:*:*:* |
= 2.1.0 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.1.1:*:*:*:*:*:*:* |
= 2.1.1 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.1.2:*:*:*:*:*:*:* |
= 2.1.2 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.1.3:*:*:*:*:*:*:* |
= 2.1.3 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.1.4:*:*:*:*:*:*:* |
= 2.1.4 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.1.5:*:*:*:*:*:*:* |
= 2.1.5 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.1.6:*:*:*:*:*:*:* |
= 2.1.6 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.1.7:*:*:*:*:*:*:* |
= 2.1.7 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.1.8:*:*:*:*:*:*:* |
= 2.1.8 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.1.9:*:*:*:*:*:*:* |
= 2.1.9 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.2.0:*:*:*:*:*:*:* |
= 2.2.0 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.2.1:*:*:*:*:*:*:* |
= 2.2.1 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.2.2:*:*:*:*:*:*:* |
= 2.2.2 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.2.3:*:*:*:*:*:*:* |
= 2.2.3 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.2.4:*:*:*:*:*:*:* |
= 2.2.4 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.2.5:*:*:*:*:*:*:* |
= 2.2.5 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.2.6:*:*:*:*:*:*:* |
= 2.2.6 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.3.0:*:*:*:*:*:*:* |
= 2.3.0 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.3.1:*:*:*:*:*:*:* |
= 2.3.1 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.3.2:*:*:*:*:*:*:* |
= 2.3.2 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.3.3:*:*:*:*:*:*:* |
= 2.3.3 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.4.0:*:*:*:*:*:*:* |
= 2.4.0 | |
| OSV | Packagist | moodle/moodle | >= 2.4, < 2.4.1 | 2.4.1 |
| OSV | Packagist | moodle/moodle | >= 2.3, < 2.3.4 | 2.3.4 |
| OSV | Packagist | moodle/moodle | >= 2.2, < 2.2.7 | 2.2.7 |
| OSV | Packagist | moodle/moodle | >= 2.1, < 2.1.10 | 2.1.10 |
References
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-36977 · WEB
- http://openwall.com/lists/oss-security/2013/01/21/1 · WEB
- https://moodle.org/mod/forum/discuss.php?d=220160 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2012-6099 · ADVISORY
- https://github.com/moodle/moodle/commit/0ab681d3e7bed2a37430387f9da8504c0b077d10 · WEB
- https://github.com/moodle/moodle/commit/7b66137f7bcc84fb5eb07f58fb658b21bf37cc44 · WEB
- https://github.com/moodle/moodle · PACKAGE
History
- 25 Nov 2026 20:17 UTC · NVD: first stored (published 27 Jan 2013)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 13 May 2022)