Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
3DescriptionGitHub Advisory
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
'enable_logout' => true,and are most impacted if they also have
'skip_logout_page' -> true,AnalysisAI
Open redirect in SimpleSAMLphp casserver module allows remote attackers to redirect authenticated users to arbitrary external domains after logout. Versions prior to 6.3.1 and 7.0.0-rc1 through 7.0.0-rc2 are affected. The logout endpoint accepts an unchecked 'url' query parameter without validating it against configured service URLs, enabling phishing attacks that leverage the trusted SimpleSAML domain. Public exploit code exists (POC: YES). EPSS data not available, but exploitation requires only user interaction (no authentication), making this readily exploitable in phishing campaigns targeting SSO users.
Technical ContextAI
SimpleSAMLphp casserver is a PHP module implementing CAS (Central Authentication Service) server functionality for federated single sign-on environments. The vulnerability exists in the LogoutController.php at line 104, where the logout endpoint processes the 'url' query parameter without validation. Previous versions of the module correctly validated redirect URLs against a whitelist of registered service URLs, but version 7.x removed this check. This is classified as CWE-601 (URL Redirection to Untrusted Site), commonly called an open redirect. The flaw violates the CAS protocol's security model, which requires service URL validation to prevent session riding and phishing attacks. When 'enable_logout' is true and especially when 'skip_logout_page' is also true, the module either directly redirects users or displays a logout confirmation page with an unvalidated link, both creating phishing vectors.
RemediationAI
Upgrade to SimpleSAMLphp casserver module version 6.3.1 for the 6.x series or version 7.0.0 for the 7.x series, both released by the vendor with fixes that restore URL validation against configured service URLs. Installation via Composer: composer update simplesamlphp/simplesamlphp-module-casserver. Until patching is complete, set 'enable_logout' => false in casserver configuration to disable the vulnerable logout endpoint entirely, though this eliminates Single Logout (SLO) functionality and may disrupt user workflows in federated environments. Alternative compensating control: set 'skip_logout_page' => false (default) to force display of logout confirmation page rather than automatic redirect, reducing but not eliminating phishing risk since malicious links remain clickable. Implement web application firewall (WAF) rules to inspect and block logout requests with 'url' parameters pointing to non-whitelisted domains, though this requires maintaining an accurate service URL whitelist and may break legitimate federated logout flows. Monitor authentication logs for suspicious logout patterns with external redirect targets. Advisory and patch details: https://github.com/simplesamlphp/simplesamlphp-module-casserver/security/advisories/GHSA-cvrm-5hp6-h523.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2025-209889
GHSA-cvrm-5hp6-h523