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.
The product inappropriately exposes a directory listing with an index of all the resources located inside of the directory.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Moodle | Moodle | 4.5.0 (including) | 4.5.7 (excluding) |
| Moodle | Moodle | 5.0.0 (including) | 5.0.3 (excluding) |