{"id":"CVE-2025-62396","aliases":["CVE-2025-62396","GHSA-c5cj-xp43-qcc3","BIT-MOODLE-2025-62396"],"related":[],"kind":"vulnerability","state":"published","title":"Moodle: router (r.php) could expose application directories","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Un problema de manejo de errores en el router de Moodle (r.php) podría causar que la aplicación mostrara listados de directorios internos cuando ciertos encabezados HTTP no estaban configurados correctamente.","source":"nvd"}],"published":"2025-10-23T11:28:31.054Z","modified":"2026-10-27T12:10:00.343Z","severity":{"scorer":"fedora","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"fedora","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-548"],"affected":[{"ranges":[{"type":"semver","introduced":"5.0.0","fixed":"5.0.3","status":"affected"},{"type":"semver","introduced":"4.5.0","fixed":"4.5.7","status":"affected"}],"package":"moodle","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0-beta","status":"affected","fixed":"5.0.3"}],"ecosystem":"Packagist","package":"moodle/moodle","purl":"pkg:composer/moodle/moodle","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.5.0-beta","status":"affected","fixed":"4.5.7"}],"ecosystem":"Packagist","package":"moodle/moodle","purl":"pkg:composer/moodle/moodle","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.5.0","fixed":"4.5.7"},{"status":"affected","introduced":"5.0.0","fixed":"5.0.3"}],"vendor":"moodle","product":"moodle","cpe":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"4.5.0","status":"affected","fixed":"4.5.7"},{"type":"semver","introduced":"5.0.0","status":"affected","fixed":"5.0.3"}],"ecosystem":"Bitnami","package":"moodle","purl":"pkg:bitnami/moodle","source":"bitnami"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2025-62396","tags":["advisory","third-party-advisory","vdb-entry","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2404429","tags":["advisory","issue-tracking","third-party-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-62396","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/moodle/moodle/commit/5d4910509eeaac8403d18ec8f259e29d2f11527e","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/moodle/moodle/commit/5e7d5abc483d0511ebfc2042075eabcc392ff4ce","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/moodle/moodle","tags":["package"],"sources":["ghsa"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=470385","tags":["web"],"sources":["ghsa"]}],"credits":["Red Hat would like to thank Yedidia Klein for reporting this issue."],"assigner":"fedora","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-10-23T14:12:55.991Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-62396","url":"https://www.cve.org/CVERecord?id=CVE-2025-62396","licence":"CVE Terms of Use","modified":"2025-10-23T14:13:02.325Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-c5cj-xp43-qcc3","url":"https://github.com/advisories/GHSA-c5cj-xp43-qcc3","licence":"CC-BY-4.0","modified":"2025-11-18T00:27:49.079Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-62396","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-62396","licence":"Public domain","modified":"2026-10-27T12:10:00.343Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-MOODLE-2025-62396","url":"https://osv.dev/vulnerability/BIT-MOODLE-2025-62396","licence":"Apache-2.0","modified":"2026-09-08T08:48:15.467Z"}],"updatedAt":"2026-11-25T22:59:06.740Z","epss":{"score":0.00301,"percentile":0.24548,"date":"2026-12-01T12:00:22.000Z"}}