CVE-2012-6099
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
1.118%
chance of exploitation in the next 30 days
higher than 66.7% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-20: Improper Input Validation
Timeline
- 2013-01-27Published by the CNA22:00 UTC
- 2022-05-13GitHub advisory published (GHSA-cr78-rphw-w73p)3393 days after publication
Exploit and advisory records
GitHub advisory GHSA-cr78-rphw-w73p, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Packagist moodle/moodle | from 2.1 before 2.1.10 | 2.1.10 |
| Packagist moodle/moodle | from 2.2 before 2.2.7 | 2.2.7 |
| Packagist moodle/moodle | from 2.3 before 2.3.4 | 2.3.4 |
| Packagist moodle/moodle | from 2.4 before 2.4.1 | 2.4.1 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| moodle moodle | 2.1.0no fix listed2.1.1no fix listed2.1.2no fix listed2.1.3no fix listed2.1.4no fix listed(+17 more) | not listednot listednot listednot listednot listed |
References
- https://moodle.org/mod/forum/discuss.php?d=220160
- 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
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2012-6099'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2012-6099'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2012-6099'curl 'https://api.contrastcyber.com/cve_products/CVE-2012-6099'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).