Skip to content

CVE-2025-62396 Moodle: router (r.php) could expose application directories

MediumCVSS 5.3 EPSS 0.53%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
PHP

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
moodle >= 4.5.0, < 4.5.7; >= 5.0.0, < 5.0.3 4.5.7, 5.0.3 Fixed
moodle/moodle >= 4.5.0, < 4.5.7; >= 5.0.0, < 5.0.3 4.5.7, 5.0.3 Fixed
moodle/moodle(Packagist) = v4.5.0; = v4.5.0-beta; = v4.5.0-rc1; = v4.5.0-rc2 +15 more 4.5.7, 5.0.3 Fixed

Affected products

ProductAffected versionsFixed in
moodle/moodle(Packagist) >= 5.0.0-beta, < 5.0.3 5.0.3
moodle/moodle(Packagist) = v5.0.0 No fix listed
moodle/moodle(Packagist) = v5.0.0-beta No fix listed
moodle/moodle(Packagist) = v5.0.0-rc1 No fix listed
moodle/moodle(Packagist) = v5.0.0-rc2 No fix listed
moodle/moodle(Packagist) = v5.0.0-rc3 No fix listed
moodle/moodle(Packagist) = v5.0.1 No fix listed
moodle/moodle(Packagist) = v5.0.2 No fix listed
moodle/moodle(Packagist) >= 4.5.0-beta, < 4.5.7 4.5.7
moodle/moodle(Packagist) = v4.5.0 No fix listed
moodle/moodle(Packagist) = v4.5.0-beta No fix listed
moodle/moodle(Packagist) = v4.5.0-rc1 No fix listed
moodle/moodle(Packagist) = v4.5.0-rc2 No fix listed
moodle/moodle(Packagist) = v4.5.1 No fix listed
moodle/moodle(Packagist) = v4.5.2 No fix listed
moodle/moodle(Packagist) = v4.5.3 No fix listed
moodle/moodle(Packagist) = v4.5.4 No fix listed
moodle/moodle(Packagist) = v4.5.5 No fix listed
moodle/moodle(Packagist) = v4.5.6 No fix listed
moodle >= 5.0.0, < 5.0.3 5.0.3
moodle >= 4.5.0, < 4.5.7 4.5.7
moodle/moodle >= 4.5.0, < 4.5.7 4.5.7
moodle/moodle >= 5.0.0, < 5.0.3 5.0.3

References