CVE-2012-6099 json
Moodle Arbitrary File Read via Backup Functionality
published 2013-01-27 13 y ago modified 2026-06-16 4 mo ago also GHSA-cr78-rphw-w73p , EUVD-2022-3622
- cvss
- 4.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 66%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist moodle/moodle 2.1.10, 2.2.7, 2.3.4, 2.4.1
Exploit prediction
1.12% chance of exploitation in the next 30 days, higher than 66% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | moodle/moodle | >=2.4, <2.4.1 >=2.3, <2.3.4 >=2.2, <2.2.7 >=2.1, <2.1.10 |
2.4.1 2.3.4 2.2.7 2.1.10 |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/moodle/moodle/commit/0ab681d3e7bed2a37430387f9da8504c0b077d10
web
-
github.com
/moodle/moodle/commit/7b66137f7bcc84fb5eb07f58fb658b21bf37cc44
web
-
moodle.org
/mod/forum/discuss.php?d=220160
web, vendor-advisory
-
git.moodle.org
/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-36977
web
-
openwall.com
/lists/oss-security/2013/01/21/1
mailing-list, web
-
nvd.nist.gov
/vuln/detail/CVE-2012-6099
advisory
-
github.com
/moodle/moodle
package
Sources
- CVE List CVE-2012-6099
- GitHub Advisory GHSA-cr78-rphw-w73p
- NVD CVE-2012-6099
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.