{"id":"GHSA-xj5f-qv37-r9jc","aliases":["CVE-2018-16854"],"title":"Moodle Login CSRF vulnerability in login form","description":"A flaw was found in moodle versions 3.5 to 3.5.2, 3.4 to 3.4.5, 3.3 to 3.3.8, 3.1 to 3.1.14 and earlier. The login form is not protected by a token to prevent login cross-site request forgery. Fixed versions include 3.6, 3.5.3, 3.4.6, 3.3.9 and 3.1.15.","severity":"high","score":8.8,"published":"2022-05-13T01:34:04.000Z","modified":"2024-04-23T23:58:48.795Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"moodle/moodle","ranges":[{"events":[{"introduced":"3.1"},{"fixed":"3.1.15"}],"type":"ECOSYSTEM"}],"versions":["v3.1.0","v3.1.0-beta","v3.1.0-rc1","v3.1.0-rc2","v3.1.1","v3.1.10","v3.1.11","v3.1.12","v3.1.13","v3.1.14","v3.1.2","v3.1.3","v3.1.4","v3.1.5","v3.1.6","v3.1.7","v3.1.8","v3.1.9"],"fixed":["3.1.15"]},{"ecosystem":"Packagist","name":"moodle/moodle","ranges":[{"events":[{"introduced":"3.3"},{"fixed":"3.3.9"}],"type":"ECOSYSTEM"}],"versions":["v3.3.0","v3.3.0-beta","v3.3.0-rc1","v3.3.0-rc2","v3.3.0-rc3","v3.3.1","v3.3.2","v3.3.3","v3.3.4","v3.3.5","v3.3.6","v3.3.7","v3.3.8"],"fixed":["3.3.9"]},{"ecosystem":"Packagist","name":"moodle/moodle","ranges":[{"events":[{"introduced":"3.4"},{"fixed":"3.4.6"}],"type":"ECOSYSTEM"}],"versions":["v3.4.0","v3.4.0-beta","v3.4.0-rc1","v3.4.0-rc2","v3.4.0-rc3","v3.4.1","v3.4.2","v3.4.3","v3.4.4","v3.4.5"],"fixed":["3.4.6"]},{"ecosystem":"Packagist","name":"moodle/moodle","ranges":[{"events":[{"introduced":"3.5"},{"fixed":"3.5.3"}],"type":"ECOSYSTEM"}],"versions":["v3.5.0","v3.5.0-beta","v3.5.0-rc1","v3.5.1","v3.5.2"],"fixed":["3.5.3"]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2018-16854","https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16854","https://github.com/moodle/moodle","https://moodle.org/mod/forum/discuss.php?d=378731","http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-63183","http://www.securityfocus.com/bid/106017","http://www.securitytracker.com/id/1042154"],"sources":[{"name":"OSV","id":"GHSA-xj5f-qv37-r9jc","modified":"2024-04-23T23:58:48.795923Z","url":"https://osv.dev/vulnerability/GHSA-xj5f-qv37-r9jc"}],"assessments":[{"source":"OSV","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8}]}