Skip to content

Commit 464b939

Browse files
1 parent cb8ed96 commit 464b939

1 file changed

Lines changed: 83 additions & 0 deletions

File tree

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-cvrm-5hp6-h523",
4+
"modified": "2026-05-15T16:21:13Z",
5+
"published": "2026-05-15T16:21:13Z",
6+
"aliases": [
7+
"CVE-2025-65954"
8+
],
9+
"summary": "SimpleSAMLphp casserver: Open Redirect in logout",
10+
"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```",
11+
"severity": [
12+
{
13+
"type": "CVSS_V3",
14+
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "Packagist",
21+
"name": "simplesamlphp/simplesamlphp-module-casserver"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "7.0.0-rc1"
29+
},
30+
{
31+
"fixed": "7.0.0"
32+
}
33+
]
34+
}
35+
],
36+
"database_specific": {
37+
"last_known_affected_version_range": "< 7.0.0-rc3"
38+
}
39+
},
40+
{
41+
"package": {
42+
"ecosystem": "Packagist",
43+
"name": "simplesamlphp/simplesamlphp-module-casserver"
44+
},
45+
"ranges": [
46+
{
47+
"type": "ECOSYSTEM",
48+
"events": [
49+
{
50+
"introduced": "0"
51+
},
52+
{
53+
"fixed": "6.3.1"
54+
}
55+
]
56+
}
57+
]
58+
}
59+
],
60+
"references": [
61+
{
62+
"type": "WEB",
63+
"url": "https://github.com/simplesamlphp/simplesamlphp-module-casserver/security/advisories/GHSA-cvrm-5hp6-h523"
64+
},
65+
{
66+
"type": "PACKAGE",
67+
"url": "https://github.com/simplesamlphp/simplesamlphp-module-casserver"
68+
},
69+
{
70+
"type": "WEB",
71+
"url": "https://github.com/simplesamlphp/simplesamlphp-module-casserver/blob/21418f7efbea8c4f078fd4a7d1b9eacf94dd4941/src/Controller/LogoutController.php#L104"
72+
}
73+
],
74+
"database_specific": {
75+
"cwe_ids": [
76+
"CWE-601"
77+
],
78+
"severity": "MODERATE",
79+
"github_reviewed": true,
80+
"github_reviewed_at": "2026-05-15T16:21:13Z",
81+
"nvd_published_at": null
82+
}
83+
}

0 commit comments

Comments
 (0)