Advisory

GHSA-cr78-rphw-w73p

Also known as: CVE-2012-6099

Summary

Moodle Arbitrary File Read via Backup Functionality

Details

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

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-13 01:12 UTC
Modified
2024-12-07 05:27 UTC

Affected packages and fixes

moodle/moodle

Packagist · All systems

Affected

  • introduced 2.4, fixed 2.4.1 (ecosystem)

Fixed versions

2.4.1

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 2.3, fixed 2.3.4 (ecosystem)

Fixed versions

2.3.4

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 2.2, fixed 2.2.7 (ecosystem)

Fixed versions

2.2.7

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 2.1, fixed 2.1.10 (ecosystem)

Fixed versions

2.1.10

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences