Medium

SimpleSAMLphp casserver: Open Redirect in logout

  • Disclosed: 15.05.2026
  • Updated: 11.10.2026 10:22

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,

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package simplesamlphp/simplesamlphp-module-casserver >= 7.0.0-rc1, < 7.0.0, < 6.3.1 7.0.0, 6.3.1

References

CVSS score 4.7/10
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
Weakness (CWE)
CWE-601
Platform
Composer
Package
simplesamlphp/simplesamlphp-module-casserver
Disclosed
15.05.2026
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-cvrm-5hp6-h523 - CC BY 4.0

Vulnerability history: simplesamlphp/simplesamlphp-module-casserver

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
2
First → latest
05.2026 05.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 1
  • Medium 1

Disclosures per year

  1. 2026: 2
  1. SimpleSAMLphp casserver: Open Redirect in logout this entry
    Medium · 4.7 CVE-2025-65954 >= 7.0.0-rc1, < 7.0.0, < 6.3.1 7.0.0, 6.3.1

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.