A session fixation vulnerability in Moodle 3.x through 3.11.18 allows unauthenticated attackers to hijack user sessions via the sesskey parameter. The sesskey can be obtained without authentication and reused within the OAuth2 login flow, resulting in the victims session being linked to the attackers. Successful exploitation results in full account takeover. According to the Moodle Releases page, Bug fixes for security issues in 3.11.x ended 11 December 2023. NOTE: This vulnerability only affects products that are no longer supported by the maintainer.
Authenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions.
Such a scenario is commonly observed when: