You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Realm client-session stats disclose hidden clients under FGAP v2 #50917
Realm viewers can enumerate hidden clients that currently have active or offline
sessions, learn their UUIDs and public client IDs, and observe session-count activity
despite lacking client visibility.
Version
Current development branch at the time of analysis.
Expected behavior
Filter client-session-stats entries through per-client visibility before returning
id/clientId values, or require client view for stats entries that expose client
identifiers.
Actual behavior
With FGAP v2 enabled, a delegated admin receives the realm view permission but no
Clients:view permission on a client that has active sessions. Direct GET
/admin/realms/{realm}/clients/{clientUuid} returns 403, but GET
/admin/realms/{realm}/client-session-stats returns an entry containing the hidden
client's UUID, public clientId, and active/offline session counts.
This issue was originally tracked in the private repository. Migrated by @ahus1.
Activity
Realm client-session stats disclose hidden clients under FGAP v2
Realm client-session stats disclose hidden clients under FGAP v2
Realm client-session stats disclose hidden clients under FGAP v2
Realm client-session stats disclose hidden clients under FGAP v2
Realm client-session stats disclose hidden clients under FGAP v2