{"id":"CVE-2025-62396","aliases":["BIT-moodle-2025-62396","EUVD-2025-35671","GHSA-c5cj-xp43-qcc3","UBUNTU-CVE-2025-62396"],"status":"published","title":"Moodle: router (r.php) could expose application directories","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.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00301,"percentile":0.23078,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-548"],"published":"2025-10-23T11:28:31Z","modified":"2026-10-29T02:30:52Z","fixes":[{"ecosystem":"Packagist","package":"moodle/moodle","fixed_in":["5.0.3","4.5.7"],"sources":["ghsa","osv"]},{"ecosystem":"Bitnami","package":"moodle","fixed_in":["4.5.7","5.0.3"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0-beta"},{"fixed":"5.0.3"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.5.0-beta"},{"fixed":"4.5.7"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"moodle","ranges":[{"type":"SEMVER","events":[{"introduced":"4.5.0"},{"fixed":"4.5.7"},{"introduced":"5.0.0"},{"fixed":"5.0.3"}]}]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0-beta"},{"fixed":"5.0.3"}]}],"versions":["v5.0.0","v5.0.0-beta","v5.0.0-rc1","v5.0.0-rc2","v5.0.0-rc3","v5.0.1","v5.0.2"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.5.0-beta"},{"fixed":"4.5.7"}]}],"versions":["v4.5.0","v4.5.0-beta","v4.5.0-rc1","v4.5.0-rc2","v4.5.1","v4.5.2","v4.5.3","v4.5.4","v4.5.5","v4.5.6"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.9+dfsg-1","2.7.10+dfsg-1","2.7.11+dfsg-1","2.7.11+dfsg-2","2.7.12+dfsg-1","3.0.3+dfsg-0ubuntu1","3.0.3+dfsg-0ubuntu1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.3+dfsg-0ubuntu1","3.0.3+dfsg-0ubuntu1+esm1"]}],"products":[{"vendor":"moodle","product":"moodle"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2025-62396","tags":["vdb-entry","x_refsource_REDHAT","Third Party Advisory","advisory","web","report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2404429","tags":["issue-tracking","x_refsource_REDHAT","Issue Tracking","Third Party Advisory","advisory","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-62396","tags":["web","advisory"]},{"url":"https://github.com/moodle/moodle/commit/5d4910509eeaac8403d18ec8f259e29d2f11527e","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/5e7d5abc483d0511ebfc2042075eabcc392ff4ce","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=470385","tags":["web"]},{"url":"https://github.com/advisories/GHSA-c5cj-xp43-qcc3"},{"url":"https://git.moodle.org","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/62xxx/CVE-2025-62396.json","tags":["advisory"]},{"url":"https://github.com/moodle/moodle","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2025-62396","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-62396","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2025-62396","title":"Moodle: router (r.php) could expose application directories","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.","status":"published","published":"2025-10-23T11:28:31.054Z","modified":"2025-10-23T14:13:02.325Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-548"],"updated_at":"2026-11-02T14:32:54.87586Z"}],"euvd":[{"id":"EUVD-2025-35671","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.","status":"published","published":"2025-10-23T11:28:31Z","modified":"2025-10-23T14:13:02Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T19:49:38.250854Z"}],"ghsa":[{"id":"GHSA-c5cj-xp43-qcc3","title":"Moodle's error handling leads to sensitive information disclosure","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.","status":"published","published":"2025-10-23T12:31:17Z","modified":"2025-10-24T20:58:33Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-548"],"updated_at":"2026-11-02T14:39:03.380616Z"}],"nvd":[{"id":"CVE-2025-62396","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.","status":"published","published":"2025-10-23T12:15:31.913Z","modified":"2026-10-27T12:10:00.343Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-548"],"updated_at":"2026-11-02T14:11:39.579859Z"}],"osv":[{"id":"CVE-2025-62396","title":"Moodle: router (r.php) could expose application directories","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.","status":"published","published":"2025-10-23T11:28:31.054Z","modified":"2026-10-29T02:30:52.81895722Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-548"],"updated_at":"2026-11-02T15:44:51.516975Z"},{"id":"GHSA-c5cj-xp43-qcc3","title":"Moodle's error handling leads to sensitive information disclosure","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.","status":"published","published":"2025-10-23T12:31:17Z","modified":"2025-11-18T00:27:49.079146Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-548"],"updated_at":"2026-11-02T15:46:44.571161Z"},{"id":"UBUNTU-CVE-2025-62396","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.","status":"published","published":"2025-10-23T12:15:00Z","modified":"2026-09-23T18:46:17.435711121Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T16:55:50.817402Z"},{"id":"BIT-moodle-2025-62396","title":"Moodle: router (r.php) could expose application directories","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.","status":"published","published":"2025-11-17T23:47:43.645Z","modified":"2026-09-08T08:48:15.467991767Z","updated_at":"2026-11-02T15:28:33.469426Z"}]}}
