{"id":"CVE-2015-5340","aliases":["EUVD-2022-4598","GHSA-mmvj-j7hq-rx85","MGASA-2015-0464","UBUNTU-CVE-2015-5340"],"status":"published","title":"Moodle sensitive information disclosure","description":"Moodle through 2.6.11, 2.7.x before 2.7.11, 2.8.x before 2.8.9, and 2.9.x before 2.9.3 does not consider the moodle/badges:viewbadges capability, which allows remote authenticated users to obtain sensitive badge information via a request involving (1) badges/overview.php or (2) badges/view.php.","severity":{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01277,"percentile":0.70149,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-200","CWE-264"],"published":"2015-12-05T10:03:58Z","modified":"2026-06-17T00:28:57Z","fixes":[{"ecosystem":"Packagist","package":"moodle/moodle","fixed_in":["2.7.11","2.8.9","2.9.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.6.11"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7.0"},{"fixed":"2.7.11"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.8.0"},{"fixed":"2.8.9"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.9.0"},{"fixed":"2.9.3"}]}]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.6.11"}]}],"versions":["v2.3.10","v2.3.11","v2.3.4","v2.3.5","v2.3.6","v2.3.7","v2.3.8","v2.3.9","v2.4.0","v2.4.0-rc1","v2.4.1","v2.4.10","v2.4.11","v2.4.2","v2.4.3","v2.4.4","v2.4.5","v2.4.6","v2.4.7","v2.4.8","v2.4.9","v2.5.0","v2.5.0-beta","v2.5.0-rc1","v2.5.1","v2.5.2","v2.5.3","v2.5.4","v2.5.5","v2.5.6","v2.5.7","v2.5.8","v2.5.9","v2.6.0","v2.6.0-beta","v2.6.0-rc1","v2.6.1","v2.6.10","v2.6.11","v2.6.2","v2.6.3","v2.6.4","v2.6.5","v2.6.6","v2.6.7","v2.6.8","v2.6.9"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7.0"},{"fixed":"2.7.11"}]}],"versions":["v2.7.0","v2.7.1","v2.7.10","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":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.8.0"},{"fixed":"2.8.9"}]}],"versions":["v2.8.0","v2.8.1","v2.8.2","v2.8.3","v2.8.4","v2.8.5","v2.8.6","v2.8.7","v2.8.8"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.9.0"},{"fixed":"2.9.3"}]}],"versions":["v2.9.0","v2.9.1","v2.9.2"]},{"source":"osv","ecosystem":"Mageia:5","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.9-1.mga5"}]}],"bundled":9}],"products":[{"vendor":"moodle","product":"moodle"}],"references":[{"url":"http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-51684","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=323235","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-5340","tags":["advisory"]},{"url":"https://github.com/moodle/moodle/commit/47d5c29202e299fdbe54229d3f6b0c381835eae3","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/65734f149f3c7e6cce9402f51f9a97deb31170db","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/7cff64fdbfff749e779cb625fbddcce737355100","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/d41fa94a69bebeca69a4cd5332bb9569cfd87b99","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/d70f610615242c5c7b3ae0bf7ef6868520dcd850","tags":["web"]},{"url":"https://github.com/advisories/GHSA-mmvj-j7hq-rx85"},{"url":"https://github.com/moodle/moodle","tags":["package"]},{"url":"https://advisories.mageia.org/MGASA-2015-0464.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=17280","tags":["report"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=323229","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=323230","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=323231","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=323232","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=323233","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=323234","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=323236","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=323237","tags":["web"]},{"url":"https://docs.moodle.org/dev/Moodle_2.8.9_release_notes","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=322852","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2015-5340","tags":["report"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=323235#p1297706","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-5340","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2015-5340","description":"Moodle through 2.6.11, 2.7.x before 2.7.11, 2.8.x before 2.8.9, and 2.9.x before 2.9.3 does not consider the moodle/badges:viewbadges capability, which allows remote authenticated users to obtain sensitive badge information via a request involving (1) badges/overview.php or (2) badges/view.php.","status":"published","published":"2016-02-22T02:00:00Z","modified":"2024-08-06T06:41:09.359Z","updated_at":"2026-11-02T14:35:39.447402Z"}],"euvd":[{"id":"EUVD-2022-4598","description":"Moodle through 2.6.11, 2.7.x before 2.7.11, 2.8.x before 2.8.9, and 2.9.x before 2.9.3 does not consider the moodle/badges:viewbadges capability, which allows remote authenticated users to obtain sensitive badge information via a request involving (1) badges/overview.php or (2) badges/view.php.","status":"published","published":"2016-02-22T02:00:00Z","modified":"2024-08-06T06:41:09Z","updated_at":"2026-11-03T02:22:00.305488Z"}],"ghsa":[{"id":"GHSA-mmvj-j7hq-rx85","title":"Moodle sensitive information disclosure","description":"Moodle through 2.6.11, 2.7.x before 2.7.11, 2.8.x before 2.8.9, and 2.9.x before 2.9.3 does not consider the moodle/badges:viewbadges capability, which allows remote authenticated users to obtain sensitive badge information via a request involving (1) `badges/overview.php` or (2) `badges/view.php`.","status":"published","published":"2022-05-13T01:12:49Z","modified":"2025-05-23T20:52:16Z","cvss":[{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T14:38:44.991725Z"}],"nvd":[{"id":"CVE-2015-5340","description":"Moodle through 2.6.11, 2.7.x before 2.7.11, 2.8.x before 2.8.9, and 2.9.x before 2.9.3 does not consider the moodle/badges:viewbadges capability, which allows remote authenticated users to obtain sensitive badge information via a request involving (1) badges/overview.php or (2) badges/view.php.","status":"published","published":"2016-02-22T05:59:18.577Z","modified":"2026-06-17T00:28:57.687Z","cvss":[{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-200","CWE-264"],"updated_at":"2026-11-02T14:03:16.97467Z"}],"osv":[{"id":"GHSA-mmvj-j7hq-rx85","title":"Moodle sensitive information disclosure","description":"Moodle through 2.6.11, 2.7.x before 2.7.11, 2.8.x before 2.8.9, and 2.9.x before 2.9.3 does not consider the moodle/badges:viewbadges capability, which allows remote authenticated users to obtain sensitive badge information via a request involving (1) `badges/overview.php` or (2) `badges/view.php`.","status":"published","published":"2022-05-13T01:12:49Z","modified":"2025-05-23T21:10:47.809468Z","cvss":[{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T15:46:52.170928Z"},{"id":"UBUNTU-CVE-2015-5340","description":"Moodle through 2.6.11, 2.7.x before 2.7.11, 2.8.x before 2.8.9, and 2.9.x before 2.9.3 does not consider the moodle/badges:viewbadges capability, which allows remote authenticated users to obtain sensitive badge information via a request involving (1) badges/overview.php or (2) badges/view.php.","status":"withdrawn","published":"2016-02-22T05:59:00Z","modified":"2025-07-16T07:33:10.275224Z","cvss":[{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:10.385269Z"},{"id":"MGASA-2015-0464","title":"Updated moodle packages fix security vulnerability","description":"In Moodle before 2.8.9, if guest access is open on the site,\nunauthenticated users can store Atto draft data through the editor\nautosave area, which could be exploited in a denial of service attack\n(CVE-2015-5332).\n\nIn Moodle before 2.8.9, due to a CSRF issue in the site registration form,\nit is possible to trick a site admin into sending aggregate stats to an\narbitrary domain. The attacker can send the admin a link to a site\nregistration form that will display the correct URL but, if submitted,\nwill register with another hub (CVE-2015-5335).\n\nIn Moodle before 2.8.9, the standard survey module is vulnerable to XSS\nattack by students who fill the survey (CVE-2015-5336).\n\nIn Moodle before 2.8.9, there was a reflected XSS vulnerability in the\nFlowplayer flash video player (CVE-2015-5337).\n\nIn Moodle before 2.8.9, password-protected lesson modules are subject to a\nCSRF vulnerability in the lesson login form (CVE-2015-5338).\n\nIn Moodle before 2.8.9, through web service core_enrol_get_enrolled_users\nit is possible to retrieve list of course participants who would not be\nvisible when using web site (CVE-2015-5339).\n\nIn Moodle before 2.8.9, logged in users who do not have capability 'View\navailable badges without earning them' can still access the full list of\nbadges (CVE-2015-5340).\n\nIn Moodle before 2.8.9, the SCORM module allows to bypass access\nrestrictions based on date and lets users view the SCORM contents\n(CVE-2015-5341).\n\nIn Moodle before 2.8.9, the choice module closing date can be bypassed,\nallowing users to delete or submit new responses after the choice module\nwas closed (CVE-2015-5342).\n","status":"published","published":"2015-12-05T10:03:58Z","modified":"2026-04-16T06:23:28.78777463Z","updated_at":"2026-11-02T15:49:39.792687Z"}]}}
