{"id":"CVE-2025-62397","aliases":["BIT-moodle-2025-62397","EUVD-2025-35670","GHSA-rc65-mhj4-hp4r","UBUNTU-CVE-2025-62397"],"status":"published","title":"Moodle: router produces json instead of 404 error for invalid course id","description":"The router’s inconsistent response to invalid course IDs allowed attackers to infer which course IDs exist, potentially aiding reconnaissance.","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-10","score":0.00279,"percentile":0.20512,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-209"],"published":"2025-10-23T11:28:33Z","modified":"2026-11-05T21:10:00Z","fixes":[{"ecosystem":"Bitnami","package":"moodle","fixed_in":["5.0.3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"moodle","ranges":[{"type":"SEMVER","events":[{"introduced":"5.0.0"},{"fixed":"5.0.3"}]}]},{"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-62397","tags":["vdb-entry","x_refsource_REDHAT","Third Party Advisory","advisory","report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2404430","tags":["issue-tracking","x_refsource_REDHAT","Issue Tracking","Third Party Advisory","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-62397","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-rc65-mhj4-hp4r"},{"url":"https://git.moodle.org","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/62xxx/CVE-2025-62397.json","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-62397","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-62397","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2025-62397","title":"Moodle: router produces json instead of 404 error for invalid course id","description":"The router’s inconsistent response to invalid course IDs allowed attackers to infer which course IDs exist, potentially aiding reconnaissance.","status":"published","published":"2025-10-23T11:28:33.922Z","modified":"2025-10-23T14:12:29.386Z","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-209"],"updated_at":"2026-11-02T14:32:55.19484Z"}],"euvd":[{"id":"EUVD-2025-35670","description":"The router’s inconsistent response to invalid course IDs allowed attackers to infer which course IDs exist, potentially aiding reconnaissance.","status":"published","published":"2025-10-23T11:28:33Z","modified":"2025-10-23T14:12:29Z","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-rc65-mhj4-hp4r","title":"The router’s inconsistent response to invalid course IDs allowed attackers to infer which course...","description":"The router’s inconsistent response to invalid course IDs allowed attackers to infer which course IDs exist, potentially aiding reconnaissance.","status":"published","published":"2025-10-23T12:31:17Z","modified":"2025-10-23T12:31:28Z","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-209"],"updated_at":"2026-11-02T15:04:11.563124Z"}],"nvd":[{"id":"CVE-2025-62397","description":"The router’s inconsistent response to invalid course IDs allowed attackers to infer which course IDs exist, potentially aiding reconnaissance.","status":"published","published":"2025-10-23T12:15:32.27Z","modified":"2026-11-05T21:10:00.183Z","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-209"],"updated_at":"2026-11-05T23:57:15.690201Z"}],"osv":[{"id":"CVE-2025-62397","title":"Moodle: router produces json instead of 404 error for invalid course id","description":"The router’s inconsistent response to invalid course IDs allowed attackers to infer which course IDs exist, potentially aiding reconnaissance.","status":"published","published":"2025-10-23T11:28:33.922Z","modified":"2026-11-07T02:30:52.059723919Z","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-209"],"updated_at":"2026-11-07T03:07:58.118356Z"},{"id":"UBUNTU-CVE-2025-62397","description":"The router’s inconsistent response to invalid course IDs allowed attackers to infer which course IDs exist, potentially aiding reconnaissance.","status":"published","published":"2025-10-23T12:15:00Z","modified":"2026-09-23T18:46:18.195976923Z","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-62397","title":"Moodle: router produces json instead of 404 error for invalid course id","description":"The router’s inconsistent response to invalid course IDs allowed attackers to infer which course IDs exist, potentially aiding reconnaissance.","status":"published","published":"2025-11-17T23:47:45.012Z","modified":"2026-09-08T08:48:15.610511457Z","updated_at":"2026-11-02T15:28:33.469426Z"}]}}
