{"id":"CVE-2015-5331","aliases":["EUVD-2022-4511","GHSA-m7cc-6vhg-39wr"],"status":"published","title":"Moodle improper access control","description":"Moodle 2.9.x before 2.9.3 does not properly check the contact list before authorizing message transmission, which allows remote authenticated users to bypass intended access restrictions and conduct spam attacks via the messaging API.","severity":{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01278,"percentile":0.70179,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-254"],"published":"2016-02-22T02:00:00Z","modified":"2026-06-17T00:28:56Z","fixes":[{"ecosystem":"Packagist","package":"moodle/moodle","fixed_in":["2.9.3"],"sources":["ghsa","osv"]}],"affected":[{"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":"2.9.0"},{"fixed":"2.9.3"}]}],"versions":["v2.9.0","v2.9.1","v2.9.2"]}],"products":[{"vendor":"moodle","product":"moodle"}],"references":[{"url":"http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-50426","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=323228","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-5331","tags":["advisory"]},{"url":"https://github.com/moodle/moodle/commit/cd0c9ac87d75b3d893d61df21e3ecfd12c065c1f","tags":["web"]},{"url":"https://github.com/advisories/GHSA-m7cc-6vhg-39wr"},{"url":"https://github.com/moodle/moodle","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2015-5331","description":"Moodle 2.9.x before 2.9.3 does not properly check the contact list before authorizing message transmission, which allows remote authenticated users to bypass intended access restrictions and conduct spam attacks via the messaging API.","status":"published","published":"2016-02-22T02:00:00Z","modified":"2024-08-06T06:41:09.348Z","updated_at":"2026-11-02T14:35:39.846011Z"}],"euvd":[{"id":"EUVD-2022-4511","description":"Moodle 2.9.x before 2.9.3 does not properly check the contact list before authorizing message transmission, which allows remote authenticated users to bypass intended access restrictions and conduct spam attacks via the messaging API.","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-m7cc-6vhg-39wr","title":"Moodle improper access control","description":"Moodle 2.9.x before 2.9.3 does not properly check the contact list before authorizing message transmission, which allows remote authenticated users to bypass intended access restrictions and conduct spam attacks via the messaging API.","status":"published","published":"2022-05-13T01:12:49Z","modified":"2023-12-07T19:49:35Z","cvss":[{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T14:37:24.593982Z"}],"nvd":[{"id":"CVE-2015-5331","description":"Moodle 2.9.x before 2.9.3 does not properly check the contact list before authorizing message transmission, which allows remote authenticated users to bypass intended access restrictions and conduct spam attacks via the messaging API.","status":"published","published":"2016-02-22T05:59:11.393Z","modified":"2026-06-17T00:28:56.623Z","cvss":[{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-254"],"updated_at":"2026-11-02T14:03:16.97467Z"}],"osv":[{"id":"GHSA-m7cc-6vhg-39wr","title":"Moodle improper access control","description":"Moodle 2.9.x before 2.9.3 does not properly check the contact list before authorizing message transmission, which allows remote authenticated users to bypass intended access restrictions and conduct spam attacks via the messaging API.","status":"published","published":"2022-05-13T01:12:49Z","modified":"2024-12-03T06:04:35.461075Z","cvss":[{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:46:51.463834Z"}]}}
