Advisory

GHSA-cgvv-3455-824j

Also known as: BIT-moodle-2025-53021, CVE-2025-53021

Summary

Moodle Session Fixation allows unauthenticated users to hijack sessions via sesskey parameter

Details

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 victim's session being linked to the attacker's. 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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-06-24 21:30 UTC
Modified
2025-07-10 06:27 UTC

Affected packages and fixes

moodle/moodle

Packagist · All systems

Affected

  • introduced 3.0.0, fixed 4.0.0 (ecosystem)

Fixed versions

4.0.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences