4.7medium
SimpleSAMLphp-casserver has an Open Redirect vulnerability via logout
- Severity
- 4.7medium CVSS:3.0 by GitHub_M
- Exploit likelihood
- 0.27% (higher than 20% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-cvrm-5hp6-h523
Description
SimpleSAMLphp-casserver is a CAS 1.0 and 2.0 compliant CAS server in the form of a SimpleSAMLphp module. In versions below 6.3.1 and 7.0.0, 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. Impacted configs include 'enable_logout' => true, and 'skip_logout_page' -> true. This issue has been resolved in versions 6.3.1 and 7.0.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| simplesamlphp simplesamlphp-module-casserver | < 6.3.1, >= 7.0.0-rc1, < 7.0.0, before 6.3.1, 7.0.0 | CVE List, NVD |
| simplesamlphp/simplesamlphp-module-casserver (Packagist) | from 7.0.0-rc1 before 7.0.0, before 6.3.1 | GitHub Advisory Database |
All scores
| GitHub_M | 4.7medium CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N |
| GitHub | 4.7medium CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
SimpleSAMLphp-casserver is a CAS 1.0 and 2.0 compliant CAS server in the form of a SimpleSAMLphp module. In versions below 6.3.1 and 7.0.0, 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. Impacted configs include 'enable_logout' => true, and 'skip_logout_page' -> true. This issue has been resolved in versions 6.3.1 and 7.0.0.
GitHub Advisory Database
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
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
'enable_logout' => true,
and are most impacted if they also have
'skip_logout_page' -> true,
NVD (es)
SimpleSAMLphp-casserver es un servidor CAS compatible con CAS 1.0 y 2.0 en forma de un módulo SimpleSAMLphp. En versiones anteriores a la 6.3.1 y 7.0.0, el endpoint de cierre de sesión acepta un parámetro de consulta url para redirigir. casserver trata esa url como de confianza, y (dependiendo de la configuración) o bien redirige el navegador allí, o muestra una página de 'has cerrado sesión' con un enlace para continuar a esa url. Las configuraciones afectadas incluyen enable_logout => true, y skip_logout_page -> true. Este problema ha sido resuelto en las versiones 6.3.1 y 7.0.0.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-65954 changed 2026-05-18 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-cvrm-5hp6-h523 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2025-65954 changed 2026-10-07 | Public domain |