/

CVE-2026-77614

Severity:

HIGH RISK

(8.8)

Session Fixation (CWE-384) in Opencast Default Auth

CVE-2026-77614

Deferred

Vulnerability type

Category:

Session Fixation

CWE:

CWE-384

Impact:

Authenticated Session Hijacking and Account Takeover

Severity:

HIGH RISK

(8.8)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Opencast's default security configuration accepts a client-selected session identifier from a URL path parameter and may retain it after login. An unauthenticated attacker can send a crafted link to a victim, reuse the known identifier after authentication, and access the victim's session, potentially including administrative capabilities.

Affected context

The issue occurs in Opencast deployments using the affected default security configuration when session identifiers supplied through URL path parameters are accepted and are not replaced during authentication. Exploitation is most relevant when a victim follows an attacker-controlled link before establishing an active Opencast session and subsequently logs in through that session.

Exploit preconditions

  • Attack surface: Opencast web authentication and session handling
  • Required access: No prior Opencast account or authenticated access is required for the attacker; the attacker must be able to deliver a crafted link to a victim
  • Victim condition: The victim's browser must not already have an active Opencast session cookie
  • Trigger point: The victim authenticates after visiting a URL containing an attacker-selected session identifier
  • Why exploitation is possible: The server may associate the selected identifier with the authenticated session instead of regenerating it at login

Why this happens

The vulnerability is caused by failing to invalidate or rotate a session identifier when authentication status changes. Accepting a client-controlled identifier through a URL path parameter and preserving it after login allows an attacker to know the identifier associated with the victim's authenticated session. This behavior maps to CWE-384: Session Fixation, where an attacker can establish or predict a session identifier before authentication and reuse it afterward.

Potential impact

  • An attacker may access the victim's authenticated session
  • Victim data and account actions could be exposed or misused
  • Unauthorized changes could be performed under the victim's identity
  • An administrator's account could be fully taken over
  • The Opencast installation could be affected through compromised administrative privileges

General mitigation guidance

Mitigation generally focuses on enforcing secure session lifecycle behavior and reducing trust in client-provided identifiers.

Common defensive patterns include:

  • Regenerating and replacing session identifiers whenever authentication state changes
  • Rejecting or disabling URL-based session identifiers where they are not required
  • Restricting accepted session identifiers to server-issued, securely scoped cookies
  • Applying secure, HttpOnly, and SameSite cookie attributes appropriate to the deployment
  • Invalidating pre-authentication sessions after successful login
  • Limiting administrative privileges and requiring additional protections for sensitive actions
  • Enforcing security-focused configuration defaults across all deployment environments

These controls reduce the likelihood that a known pre-authentication identifier can become an authenticated session.

How teams detect issues like this

Organizations can identify session fixation risks through:

  • Static and configuration analysis for URL-based session tracking and client-selected session identifiers
  • Code review checks confirming session identifiers are rotated after login, privilege changes, and reauthentication
  • Integration tests that verify pre-authentication identifiers cannot be reused after authentication
  • Web application monitoring for authenticated requests using identifiers first observed before login
  • Policy enforcement requiring cookie-based session management and secure session attributes
  • Automated security testing or code review tools that flag missing session regeneration and insecure session configuration

Sources

SourceLink
github.comgithub.com/opencast/opencast/commit/c36652250a026afb7cf78b663950c702669f1d3f
github.comgithub.com/opencast/opencast/commit/ff84128c9b3bcbd79c28192d25929dab8faf185f
github.comgithub.com/opencast/opencast/releases/tag/19.7
github.comgithub.com/opencast/opencast/releases/tag/20.2
github.comgithub.com/opencast/opencast/security/advisories/GHSA-6f53-jp7x-gg7p

Frequently asked

questions

Yes, exploitation can occur through a crafted link delivered to a victim, although the attacker generally relies on the victim to visit the link and authenticate.

No prior authenticated account is necessarily required. The attacker needs to control or predict the session identifier and deliver the link to a victim who does not already have an active session.

Rotate or replace the session identifier whenever a user authenticates, and avoid accepting session identifiers from URL path parameters when cookie-based sessions are sufficient.

Test session lifecycle transitions, enforce secure cookie-based session policies, reject client-selected identifiers, and apply least privilege to administrative accounts.

Find out what's already
exploitable in your codebase.