GitHub Advisoryadvisory · Packagist

GHSA-cvrm-5hp6-h523 SimpleSAMLphp casserver: Open Redirect in logout

MEDIUM Published 2026-05-15 Modified 2026-05-19 Official page ↗
Aliases
CVE-2025-65954
Ecosystem
Packagist
Packages
simplesamlphp/simplesamlphp-module-casserver
Severity
Moderate
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
Weaknesses
CWE-601
Reviewed
2026-05-15

Affected packages

• Packagist simplesamlphp/simplesamlphp-module-casserver: >= 7.0.0-rc1, < 7.0.0 → fixed in 7.0.0 • Packagist simplesamlphp/simplesamlphp-module-casserver: < 6.3.1 → fixed in 6.3.1

Description

Summary The logout endpoint accepts a `url` query parameter to redirect to. casserver treats that url as trusted, and either (depending on configuration) redirects the browser there, or shows a "you've been logged out" page with a link to continue to that url. There are a number of other things broken with logout in 7 (cas v3 uses a different query parameters, etc) Details https://github.com/simplesamlphp/simplesamlphp-module-casserver/blob/21418f7efbea8c4f078fd4a7d1b9eacf94dd4941/src/Controller/LogoutController.php#L104 Previous module checked the url against the valid service urls. PoC The docker instructions from the README.md run an image with a vulnerable config. Accessing https://localhost/cas/logout?url=https://google.com will redirect to Google Impact Impacted configs have ```php 'enable_logout' => true, ``` and are most impacted if they also have ``` 'skip_logout_page' -> true, ```

Related

Alias · CVE (1)

  • CVE-2025-65954 SimpleSAMLphp-casserver is a CAS 1.0 and 2.0 compliant CAS server in the form of a SimpleSAMLphp module. vulnerability

Weakness · CWE (1)

  • CWE-601 URL Redirection to Untrusted Site weakness

References