{"id":"CVE-2014-0126","aliases":["EUVD-2022-2465","GHSA-4wvg-7886-83gv","MGASA-2014-0160"],"status":"published","title":"Moodle cross-site request forgery (CSRF) vulnerability","description":"Cross-site request forgery (CSRF) vulnerability in enrol/imsenterprise/importnow.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 allows remote attackers to hijack the authentication of administrators for requests that import an IMS Enterprise file.","severity":{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01006,"percentile":0.63246,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-352"],"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":"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-43146","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=256423","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2014-0126","tags":["advisory"]},{"url":"https://github.com/moodle/moodle/commit/41a19bffeef0ee6b0560a5ff808fd4bd35075fa1","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/caf766507771e07c1752ece1f37a32b2b4f6d8b9","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/ea8647b39ec9cf1d73e04b05559bd12d97aa5229","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/eee61675f042a9ec89f8f6d219b4ded010198fe4","tags":["web"]},{"url":"https://github.com/advisories/GHSA-4wvg-7886-83gv"},{"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=256418","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":"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-0126","description":"Cross-site request forgery (CSRF) vulnerability in enrol/imsenterprise/importnow.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 allows remote attackers to hijack the authentication of administrators for requests that import an IMS Enterprise file.","status":"published","published":"2014-03-22T01:00:00Z","modified":"2024-08-06T09:05:38.956Z","updated_at":"2026-11-02T14:33:47.330011Z"}],"euvd":[{"id":"EUVD-2022-2465","description":"Cross-site request forgery (CSRF) vulnerability in enrol/imsenterprise/importnow.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 allows remote attackers to hijack the authentication of administrators for requests that import an IMS Enterprise file.","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-4wvg-7886-83gv","title":"Moodle cross-site request forgery (CSRF) vulnerability","description":"Cross-site request forgery (CSRF) vulnerability in enrol/imsenterprise/importnow.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 allows remote attackers to hijack the authentication of administrators for requests that import an IMS Enterprise file.","status":"published","published":"2022-05-13T01:12:51Z","modified":"2024-01-24T16:18:06Z","cwes":["CWE-352"],"updated_at":"2026-11-02T14:37:32.302254Z"}],"nvd":[{"id":"CVE-2014-0126","description":"Cross-site request forgery (CSRF) vulnerability in enrol/imsenterprise/importnow.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 allows remote attackers to hijack the authentication of administrators for requests that import an IMS Enterprise file.","status":"published","published":"2014-03-24T14:20:39.4Z","modified":"2026-06-17T00:02:20.683Z","cvss":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:02:53.710973Z"}],"osv":[{"id":"GHSA-4wvg-7886-83gv","title":"Moodle cross-site request forgery (CSRF) vulnerability","description":"Cross-site request forgery (CSRF) vulnerability in enrol/imsenterprise/importnow.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 allows remote attackers to hijack the authentication of administrators for requests that import an IMS Enterprise file.","status":"published","published":"2022-05-13T01:12:51Z","modified":"2024-12-07T05:39:35.120408Z","cwes":["CWE-352"],"updated_at":"2026-11-02T15:46:37.528068Z"},{"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"}]}}
