CVE-2021-40691: Moodle Improper Authentication
4.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.40286%
CWE
-
Published
9/30/2022
Updated
4/23/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| moodle/moodle | composer | >= 3.9, < 3.9.10 | 3.9.10 |
| moodle/moodle | composer | >= 3.10, < 3.10.7 | 3.10.7 |
| moodle/moodle | composer | >= 3.11, < 3.11.3 | 3.11.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability involves session hijack risk in Shibboleth authentication. Session hijacking typically occurs when session identifiers aren't properly invalidated/regenerated during authentication. Moodle's Shibboleth plugin's core authentication function (auth_shibboleth_authenticate_user_login) would be responsible for session management during login. The high confidence comes from: 1) Vulnerability context matching session management flaws, 2) Shibboleth authentication flow requiring secure session handling, and 3) Common patterns where session fixation vulnerabilities occur in authentication handlers that don't regenerate session IDs.