{"id":"CVE-2021-40691","aliases":["BIT-moodle-2021-40691","EUVD-2022-6748","GHSA-92vh-mr2w-j2cr","UBUNTU-CVE-2021-40691"],"status":"published","title":"Moodle Improper Authentication","description":"A session hijack risk was identified in the Shibboleth authentication plugin.","severity":{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00711,"percentile":0.53854,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2022-01-21T18:17:49Z","modified":"2026-10-24T10:30:26Z","fixes":[{"ecosystem":"Packagist","package":"moodle/moodle","fixed_in":["3.9.10","3.10.7","3.11.3"],"sources":["ghsa","osv"]},{"ecosystem":"Bitnami","package":"moodle","fixed_in":["3.9.10","3.10.7","3.11.3"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.9"},{"fixed":"3.9.10"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.10"},{"fixed":"3.10.7"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.11"},{"fixed":"3.11.3"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"moodle","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.9.10"},{"introduced":"3.10.0"},{"fixed":"3.10.7"},{"introduced":"3.11.0"},{"fixed":"3.11.3"}]}]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.9"},{"fixed":"3.9.10"}]}],"versions":["v3.9.0","v3.9.0-beta","v3.9.0-rc1","v3.9.0-rc2","v3.9.0-rc3","v3.9.1","v3.9.2","v3.9.3","v3.9.4","v3.9.5","v3.9.6","v3.9.7","v3.9.8","v3.9.9"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.10"},{"fixed":"3.10.7"}]}],"versions":["v3.10.0","v3.10.0-beta","v3.10.0-rc1","v3.10.0-rc2","v3.10.1","v3.10.2","v3.10.3","v3.10.4","v3.10.5","v3.10.6"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.11"},{"fixed":"3.11.3"}]}],"versions":["v3.11.0","v3.11.0-beta","v3.11.0-rc1","v3.11.0-rc2","v3.11.1","v3.11.2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.9+dfsg-1","2.7.10+dfsg-1","2.7.11+dfsg-1","2.7.11+dfsg-2","2.7.12+dfsg-1","3.0.3+dfsg-0ubuntu1","3.0.3+dfsg-0ubuntu1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.3+dfsg-0ubuntu1","3.0.3+dfsg-0ubuntu1+esm1"]}],"products":[{"vendor":"moodle","product":"moodle"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2043411","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","advisory","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40691","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-92vh-mr2w-j2cr"},{"url":"https://github.com/moodle/moodle","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2021-40691","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-40691","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-40691","description":"A session hijack risk was identified in the Shibboleth authentication plugin.","status":"published","published":"2022-01-21T18:17:49Z","modified":"2024-08-04T02:51:06.538Z","updated_at":"2026-11-02T14:33:01.495293Z"}],"euvd":[{"id":"EUVD-2022-6748","description":"A session hijack risk was identified in the Shibboleth authentication plugin.","status":"published","published":"2022-01-21T18:17:49Z","modified":"2024-08-04T02:51:06Z","updated_at":"2026-11-03T03:24:19.692229Z"}],"ghsa":[{"id":"GHSA-92vh-mr2w-j2cr","title":"Moodle Improper Authentication","description":"A session hijack risk was identified in the Shibboleth authentication plugin.","status":"published","published":"2022-09-30T00:00:30Z","modified":"2024-04-23T23:35:56Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T14:37:44.867253Z"}],"nvd":[{"id":"CVE-2021-40691","description":"A session hijack risk was identified in the Shibboleth authentication plugin.","status":"published","published":"2022-09-29T03:15:14.24Z","modified":"2026-06-17T04:07:15.61Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:07:06.906968Z"}],"osv":[{"id":"CVE-2021-40691","description":"A session hijack risk was identified in the Shibboleth authentication plugin.","status":"published","published":"2022-09-29T03:15:14.24Z","modified":"2026-10-24T10:30:26.046793336Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:21.249056Z"},{"id":"GHSA-92vh-mr2w-j2cr","title":"Moodle Improper Authentication","description":"A session hijack risk was identified in the Shibboleth authentication plugin.","status":"published","published":"2022-09-30T00:00:30Z","modified":"2024-12-06T05:32:00.214239Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:46:43.123867Z"},{"id":"UBUNTU-CVE-2021-40691","description":"A session hijack risk was identified in the Shibboleth authentication plugin.","status":"published","published":"2022-09-29T03:15:00Z","modified":"2026-09-23T18:46:12.895443691Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:29.220315Z"},{"id":"BIT-moodle-2021-40691","description":"A session hijack risk was identified in the Shibboleth authentication plugin.","status":"published","published":"2024-03-06T11:07:44.502Z","modified":"2026-09-08T08:48:14.90229474Z","updated_at":"2026-11-02T15:28:33.469426Z"}]}}
