Every CVE Search/ Get API key

CVE-2012-6099

Moodle Arbitrary File Read via Backup Functionality

4.0 MediumFix available

CVE-2012-6099 is a medium vulnerability (CVSS 4.0) in Moodle, published January 27, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.12%, the 66th percentile. Fixed in moodle/moodle 2.4.1.

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.

Exploit likelihood

1.12%Up 0.1 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 4.0

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.

Record
CVE-2012-6099
CVSS 2.0
4.0 MediumAV:N/AC:L/Au:S/C:P/I:N/A:N
Weakness
CWE-20
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2012-6099
Updated
2026-11-02
EUVDEUVD-2022-3622 No score

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.

Record
EUVD-2022-3622
Updated
2026-11-03
GitHub AdvisoriesGHSA-cr78-rphw-w73p No score

Moodle 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.

Record
GHSA-cr78-rphw-w73p
Weakness
CWE-20
Updated
2026-11-02
OSVGHSA-cr78-rphw-w73p No score

Moodle 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.

Record
GHSA-cr78-rphw-w73p
Weakness
CWE-20
Updated
2026-11-02
OSVUBUNTU-CVE-2012-6099 No score

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.

Record
UBUNTU-CVE-2012-6099
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
moodle/moodle
Packagist
2.4 to 2.4
2.4.1
moodle/moodle
Packagist
2.3 to 2.3.3
2.3.4
moodle/moodle
Packagist
2.2 to 2.2.6
2.2.7
moodle/moodle
Packagist
2.1 to 2.1.9
2.1.10
moodle/moodle
Packagist
2.4 up to 2.4.1, plus listed versions
v2.4.0v2.4.0-rc1
2.4.1
moodle/moodle
Packagist
2.3 up to 2.3.4
2.3.4
moodle/moodle
Packagist
2.2 up to 2.2.7
2.2.7
moodle/moodle
Packagist
2.1 up to 2.1.10
2.1.10

History

History
WhenChangedSources
2026-11-03affected
2026-11-03aliasesEUVD
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV

References

Show 6 moreShow less
MoveEnter Open