{"id":"CVE-2014-0122","aliases":["EUVD-2022-3739","GHSA-f9m9-494r-w36p","MGASA-2014-0160"],"status":"published","title":"Moodle allows bypass of intended access restrictions","description":"mod/chat/chat_ajax.php in Moodle through 2.3.11, 2.4.x before 2.4.9, 2.5.x before 2.5.5, and 2.6.x before 2.6.2 does not properly check for the mod/chat:chat capability during chat sessions, which allows remote authenticated users to bypass intended access restrictions in opportunistic circumstances by remaining in a chat session after an intra-session capability removal by an administrator.","severity":{"version":"2.0","score":4.9,"vector":"AV:N/AC:M/Au:S/C:P/I:P/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01017,"percentile":0.63553,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-264"],"published":"2014-03-22T01:00:00Z","modified":"2026-06-17T00:02:20Z","fixes":[{"ecosystem":"Packagist","package":"moodle/moodle","fixed_in":["2.4.9","2.5.5","2.6.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.9"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.0"},{"fixed":"2.5.5"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0"},{"fixed":"2.6.2"}]}]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.9"}]}],"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.2","v2.4.3","v2.4.4","v2.4.5","v2.4.6","v2.4.7","v2.4.8"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.0"},{"fixed":"2.5.5"}]}],"versions":["v2.5.0","v2.5.1","v2.5.2","v2.5.3","v2.5.4"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0"},{"fixed":"2.6.2"}]}],"versions":["v2.6.0","v2.6.1"]},{"source":"osv","ecosystem":"Mageia:3","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.9-1.mga3"}]}],"bundled":8},{"source":"osv","ecosystem":"Mageia:4","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.9-1.mga4"}]}],"bundled":8}],"products":[{"vendor":"moodle","product":"moodle"}],"references":[{"url":"https://moodle.org/mod/forum/discuss.php?d=256418","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","web"]},{"url":"http://openwall.com/lists/oss-security/2014/03/17/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-44082","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2014-0122","tags":["advisory"]},{"url":"https://github.com/moodle/moodle/commit/3d7810ab3d67a423a760ba89ae75de81d940b236","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/4d4867503c2467cb04660d9cb314d22f56004054","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/5c45ea0c6bf2fdf4dddfaef9fc5ff12e6b426a3f","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/7748e17207b1a28118d9dc622878da22f956d3fe","tags":["web"]},{"url":"https://github.com/advisories/GHSA-f9m9-494r-w36p"},{"url":"https://github.com/moodle/moodle","tags":["package"]},{"url":"https://advisories.mageia.org/MGASA-2014-0160.html","tags":["advisory"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=256416","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=256417","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=256419","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=256420","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=256421","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=256422","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=256423","tags":["web"]},{"url":"http://docs.moodle.org/dev/Moodle_2.4.9_release_notes","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=255903","tags":["web"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=13005","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2014-0122","description":"mod/chat/chat_ajax.php in Moodle through 2.3.11, 2.4.x before 2.4.9, 2.5.x before 2.5.5, and 2.6.x before 2.6.2 does not properly check for the mod/chat:chat capability during chat sessions, which allows remote authenticated users to bypass intended access restrictions in opportunistic circumstances by remaining in a chat session after an intra-session capability removal by an administrator.","status":"published","published":"2014-03-22T01:00:00Z","modified":"2024-08-06T09:05:38.987Z","updated_at":"2026-11-02T14:33:47.741012Z"}],"euvd":[{"id":"EUVD-2022-3739","description":"mod/chat/chat_ajax.php in Moodle through 2.3.11, 2.4.x before 2.4.9, 2.5.x before 2.5.5, and 2.6.x before 2.6.2 does not properly check for the mod/chat:chat capability during chat sessions, which allows remote authenticated users to bypass intended access restrictions in opportunistic circumstances by remaining in a chat session after an intra-session capability removal by an administrator.","status":"published","published":"2014-03-22T01:00:00Z","modified":"2024-08-06T09:05:38Z","updated_at":"2026-11-03T01:57:22.468358Z"}],"ghsa":[{"id":"GHSA-f9m9-494r-w36p","title":"Moodle allows bypass of intended access restrictions","description":"mod/chat/chat_ajax.php in Moodle through 2.3.11, 2.4.x before 2.4.9, 2.5.x before 2.5.5, and 2.6.x before 2.6.2 does not properly check for the mod/chat:chat capability during chat sessions, which allows remote authenticated users to bypass intended access restrictions in opportunistic circumstances by remaining in a chat session after an intra-session capability removal by an administrator.","status":"published","published":"2022-05-13T01:12:50Z","modified":"2024-01-23T17:51:44Z","updated_at":"2026-11-02T14:37:32.302254Z"}],"nvd":[{"id":"CVE-2014-0122","description":"mod/chat/chat_ajax.php in Moodle through 2.3.11, 2.4.x before 2.4.9, 2.5.x before 2.5.5, and 2.6.x before 2.6.2 does not properly check for the mod/chat:chat capability during chat sessions, which allows remote authenticated users to bypass intended access restrictions in opportunistic circumstances by remaining in a chat session after an intra-session capability removal by an administrator.","status":"published","published":"2014-03-24T14:20:39.37Z","modified":"2026-06-17T00:02:20.24Z","cvss":[{"version":"2.0","score":4.9,"vector":"AV:N/AC:M/Au:S/C:P/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-264"],"updated_at":"2026-11-02T14:02:53.710973Z"}],"osv":[{"id":"GHSA-f9m9-494r-w36p","title":"Moodle allows bypass of intended access restrictions","description":"mod/chat/chat_ajax.php in Moodle through 2.3.11, 2.4.x before 2.4.9, 2.5.x before 2.5.5, and 2.6.x before 2.6.2 does not properly check for the mod/chat:chat capability during chat sessions, which allows remote authenticated users to bypass intended access restrictions in opportunistic circumstances by remaining in a chat session after an intra-session capability removal by an administrator.","status":"published","published":"2022-05-13T01:12:50Z","modified":"2024-12-06T05:39:02.354697Z","updated_at":"2026-11-02T15:46:46.39441Z"},{"id":"MGASA-2014-0160","title":"Updated moodle packages fix multiple security vulnerabilities","description":"Updated moodle package fixes security vulnerabilities:\n\nIn Moodle before 2.4.9, question strings were not being filtered correctly\npossibly allowing cross site scripting, as quiz_question_tostring can cause\ninvalid HTML (CVE-2014-2571).\n\nFeedback Availability dates not honored in complete.php in Moodle before\n2.4.9, therefore it was possible to start a Feedback activity while it was\nsupposed to be closed (CVE-2014-0127).\n\nBroken access control vulnerability in Moodle before 2.4.9 with\n/mod/chat/chat_ajax.php, where capabilities to chat were being checked at the\nstart of a chat, but not during, so changes were not effective immediately\n(CVE-2014-0122).\n\nIn Moodle before 2.4.9, there were missing access checks on Wiki pages\nallowing students to see pages of other students' individual wikis, through\nthe Recent activity block (CVE-2014-0123).\n\nIn Moodle before 2.4.9, cross site scripting was possible with Flowplayer\n(CVE-2013-7341).\n\nIn Moodle before 2.4.9, Forum and Quiz were showing users' email addresses\nwhen settings were supposed to be preventing this (CVE-2014-0124).\n\nIn Moodle before 2.4.9, alias links to items in an Alfresco repository were\nprovided with information that would allow someone to impersonate the file\nowner in Alfresco (CVE-2014-0125).\n\nCross Site Request Forgery in Moodle before 2.4.9 in\nenrol/imsenterprise/importnow.php, due to inadequate session checking when\ntriggering the import of IMS Enterprise identities (CVE-2014-0126).\n","status":"published","published":"2014-04-03T17:23:49Z","modified":"2026-04-16T06:24:28.692656622Z","updated_at":"2026-11-02T15:49:39.121227Z"}]}}
