{"id":"CVE-2016-8642","aliases":["EUVD-2022-5690","GHSA-x32v-7qw8-cpq8","UBUNTU-CVE-2016-8642"],"status":"published","title":"Moodle Unauthenticated Access","description":"In Moodle 2.x and 3.x, the question engine allows access to files that should not be available.","severity":{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01196,"percentile":0.68287,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-284"],"published":"2017-01-20T08:39:00Z","modified":"2026-10-24T10:30:20Z","fixes":[{"ecosystem":"Packagist","package":"moodle/moodle","fixed_in":["3.1.3","3.0.7","2.9.9","2.7.17"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.1.0"},{"last_affected":"3.1.2"},{"fixed":"3.1.3"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"last_affected":"3.0.6"},{"fixed":"3.0.7"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.9.0"},{"last_affected":"2.9.8"},{"fixed":"2.9.9"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.8.0"},{"last_affected":"2.8.12"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7.0"},{"last_affected":"2.7.16"},{"fixed":"2.7.17"}]}]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.1.0"},{"fixed":"3.1.3"}]}],"versions":["v3.1.0","v3.1.1","v3.1.2"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.0.7"}]}],"versions":["v3.0.0","v3.0.1","v3.0.2","v3.0.3","v3.0.4","v3.0.5","v3.0.6"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.9.0"},{"fixed":"2.9.9"}]}],"versions":["v2.9.0","v2.9.1","v2.9.2","v2.9.3","v2.9.4","v2.9.5","v2.9.6","v2.9.7","v2.9.8"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.8.0"},{"last_affected":"2.8.12"}]}],"versions":["v2.8.0","v2.8.1","v2.8.10","v2.8.11","v2.8.12","v2.8.2","v2.8.3","v2.8.4","v2.8.5","v2.8.6","v2.8.7","v2.8.8","v2.8.9"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7.0"},{"fixed":"2.7.17"}]}],"versions":["v2.7.0","v2.7.1","v2.7.10","v2.7.11","v2.7.12","v2.7.13","v2.7.14","v2.7.15","v2.7.16","v2.7.2","v2.7.3","v2.7.4","v2.7.5","v2.7.6","v2.7.7","v2.7.8","v2.7.9"]},{"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://moodle.org/mod/forum/discuss.php?d=343275","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","fix","web"]},{"url":"http://www.securityfocus.com/bid/94441","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-8642","tags":["advisory"]},{"url":"https://github.com/moodle/moodle/commit/cf0b9432d81ba9d5763e4894f82c95ca9fbf548f","tags":["web"]},{"url":"https://web.archive.org/web/20210123193602/http://www.securityfocus.com/bid/94441","tags":["web"]},{"url":"https://github.com/advisories/GHSA-x32v-7qw8-cpq8"},{"url":"https://github.com/moodle/moodle","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2016-8642","tags":["report"]},{"url":"https://tracker.moodle.org/browse/MDL-53744","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-8642","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2016-8642","description":"In Moodle 2.x and 3.x, the question engine allows access to files that should not be available.","status":"published","published":"2017-01-20T08:39:00Z","modified":"2024-08-06T02:27:41.243Z","updated_at":"2026-11-02T14:33:32.415289Z"}],"euvd":[{"id":"EUVD-2022-5690","description":"In Moodle 2.x and 3.x, the question engine allows access to files that should not be available.","status":"published","published":"2017-01-20T08:39:00Z","modified":"2024-08-06T02:27:41Z","updated_at":"2026-11-03T02:22:29.639634Z"}],"ghsa":[{"id":"GHSA-x32v-7qw8-cpq8","title":"Moodle Unauthenticated Access","description":"In Moodle 2.x and 3.x, the question engine allows access to files that should not be available.","status":"published","published":"2022-05-13T01:12:40Z","modified":"2023-11-02T13:25:17Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-284"],"updated_at":"2026-11-02T14:37:11.48574Z"}],"nvd":[{"id":"CVE-2016-8642","description":"In Moodle 2.x and 3.x, the question engine allows access to files that should not be available.","status":"published","published":"2017-01-20T08:59:00.313Z","modified":"2026-06-17T00:54:41.323Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-284"],"updated_at":"2026-11-02T14:03:35.029632Z"}],"osv":[{"id":"CVE-2016-8642","description":"In Moodle 2.x and 3.x, the question engine allows access to files that should not be available.","status":"published","published":"2017-01-20T08:59:00.313Z","modified":"2026-10-24T10:30:20.118214702Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:03.171316Z"},{"id":"GHSA-x32v-7qw8-cpq8","title":"Moodle Unauthenticated Access","description":"In Moodle 2.x and 3.x, the question engine allows access to files that should not be available.","status":"published","published":"2022-05-13T01:12:40Z","modified":"2024-02-16T08:20:24.313658Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-284"],"updated_at":"2026-11-02T15:46:59.484835Z"},{"id":"UBUNTU-CVE-2016-8642","description":"In Moodle 2.x and 3.x, the question engine allows access to files that should not be available.","status":"published","published":"2017-01-20T08:59:00Z","modified":"2026-09-23T18:45:57.118573188Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:12.994319Z"}]}}
