CVE-2012-6099: Input Validation

Published Jan 27, 2013
·
Updated

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.

Other sources

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.

Affected Software

26 affected componentsFixes available
composer/moodle/moodle>=2.1<=2.1.9
2.1.10
composer/moodle/moodle>=2.2<=2.2.6
2.2.7
composer/moodle/moodle>=2.3<=2.3.3
2.3.4
composer/moodle/moodle=2.4
2.4.1
Moodle moodle=2.1.0
Moodle moodle=2.1.1
Moodle moodle=2.1.2
Moodle moodle=2.1.3
Moodle moodle=2.1.4
Moodle moodle=2.1.5
Moodle moodle=2.1.6
Moodle moodle=2.1.7
Moodle moodle=2.1.8
Moodle moodle=2.1.9
Moodle moodle=2.2.0
Moodle moodle=2.2.1
Moodle moodle=2.2.2
Moodle moodle=2.2.3
Moodle moodle=2.2.4
Moodle moodle=2.2.5
Moodle moodle=2.2.6
Moodle moodle=2.3.0
Moodle moodle=2.3.1
Moodle moodle=2.3.2
Moodle moodle=2.3.3
Moodle moodle=2.4.0

Event History

Jan 27, 2013
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description
May 13, 2022
Advisory Published
01:12 AM

Frequently Asked Questions

1

What is the severity of CVE-2012-6099?

CVE-2012-6099 is classified as a high severity vulnerability due to improper pathname validation that can lead to unauthorized file access.

2

How do I fix CVE-2012-6099?

To mitigate CVE-2012-6099, upgrade to Moodle versions 2.1.10, 2.2.7, 2.3.4, or 2.4.1 or later.

3

Who is affected by CVE-2012-6099?

CVE-2012-6099 affects Moodle versions 2.1.0 through 2.1.9, 2.2.0 through 2.2.6, 2.3.0 through 2.3.3, and 2.4.0.

4

What types of attacks can CVE-2012-6099 enable?

CVE-2012-6099 can enable remote authenticated users to read arbitrary files on the server without proper authorization.

5

What components of Moodle are involved in CVE-2012-6099?

CVE-2012-6099 involves the moodle1 backup converter located in backup/converter/moodle1/lib.php.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203