Skip to content
OpenAdvisories
Medium · 5.3 CVE-2025-62396 BIT-moodle-2025-62396EUVD-2025-35671GHSA-c5cj-xp43-qcc3

Moodle: router (r.php) could expose application directories

Published Oct 23, 2025 · Updated Oct 23, 2025 · Assigned by fedora

Description

An error-handling issue in the Moodle router (r.php) could cause the application to display internal directory listings when specific HTTP headers were not properly configured.

Affected products

VendorProductAffectedFixed
— moodle 5.0.0 – < 5.0.3, 4.5.0 – < 4.5.7 5.0.3

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS moodle No fix yet —
Ubuntu Pro 16.04 LTS moodle No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist moodle/moodle >= 5.0.0-beta, < 5.0.3 5.0.3 GHSA-c5cj-xp43-qcc3
Packagist moodle/moodle >= 4.5.0-beta, < 4.5.7 4.5.7 GHSA-c5cj-xp43-qcc3

Advisories 1

References