原始 OSV JSON{
"id": "GHSA-cvrm-5hp6-h523",
"aliases": [
"CVE-2025-65954"
],
"details": "### Summary\n\nThe 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.\n\nThere are a number of other things broken with logout in 7 (cas v3 uses a different query parameters, etc)\n\n### Details\n\nhttps://github.com/simplesamlphp/simplesamlphp-module-casserver/blob/21418f7efbea8c4f078fd4a7d1b9eacf94dd4941/src/Controller/LogoutController.php#L104\n\nPrevious module checked the url against the valid service urls.\n\n### PoC\n\nThe docker instructions from the README.md run an image with a vulnerable config. \n\nAccessing https://localhost/cas/logout?url=https://google.com will redirect to Google\n\n### Impact\n\nImpacted configs have\n\n```php\n'enable_logout' => true,\n```\n\nand are most impacted if they also have\n\n```\n'skip_logout_page' -> true,\n```",
"summary": "SimpleSAMLphp casserver: Open Redirect in logout",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "7.0.0-rc1"
},
{
"fixed": "7.0.0"
}
]
}
],
"package": {
"name": "simplesamlphp/simplesamlphp-module-casserver",
"ecosystem": "Packagist"
},
"database_specific": {
"last_known_affected_version_range": "< 7.0.0-rc3"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "6.3.1"
}
]
}
],
"package": {
"name": "simplesamlphp/simplesamlphp-module-casserver",
"ecosystem": "Packagist"
}
}
],
"modified": "2026-05-19T16:08:50Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N"
}
],
"published": "2026-05-15T16:21:13Z",
"references": [
{
"url": "https://github.com/simplesamlphp/simplesamlphp-module-casserver/security/advisories/GHSA-cvrm-5hp6-h523",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-65954",
"type": "ADVISORY"
},
{
"url": "https://github.com/simplesamlphp/simplesamlphp-module-casserver/commit/0462f50f00b3bb300d83067d11b74146a57bb8e0",
"type": "WEB"
},
{
"url": "https://github.com/simplesamlphp/simplesamlphp-module-casserver/commit/fb6c6f1c7b9e757c93c5c306e1d36405e64f6dc5",
"type": "WEB"
},
{
"url": "https://github.com/simplesamlphp/simplesamlphp-module-casserver",
"type": "PACKAGE"
},
{
"url": "https://github.com/simplesamlphp/simplesamlphp-module-casserver/blob/21418f7efbea8c4f078fd4a7d1b9eacf94dd4941/src/Controller/LogoutController.php#L104",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-601"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2026-05-18T20:16:36Z",
"github_reviewed_at": "2026-05-15T16:21:13Z"
}
}