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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | 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.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | moodle | No fix yet | — |
| Ubuntu Pro 16.04 LTS | moodle | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| 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
- WID-SEC-2025-2272 Moodle: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 23, 2025
References
- https://access.redhat.com/security/cve/CVE-2025-62396 vdb-entry
- RHBZ#2404429 issue-tracking