Repository navigation
Prevent account enumeration #15632
Replies: 2 comments 5 replies
|
The title mentions account enumeration, but the text mentions client enumeration. Please clarify which is the correct question. For the client names, the information is basically public since the name is included in the redirect URL when the client sends a request to the authentication server (Keycloak). Because of this, a possible attacker can then fetch the corresponding name if they know any of the clients that use Keycloak for authentication. If the attacker can simply guess a valid name, in theory they should not be able to find a valid redirect URL without prior knowledge, since Keycloak validates the redirect URL that is sent with the authentication request, and returns an Ultimately, if the attacker knows both the client name and a valid redirect URI (this should be easiest if they already know one of the clients), most users should be protected by the URI verification, unless their system is compromised in a way that would let an attacker fake the client site (since most sites should use HTTPS, this would probably require having the user trust a spoofed or invalid certificate). |
|
@davidpiendl I think the fix is only available in KC20, not in KC19. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi together,
we recently found out that creating a token with client credentials via oidc leads to different responses if the client does not exist or if the secret is invalid (Statuscode 400 vs 401). Is there a way to answer the token request with a more generic response?
We are currently using v19.0.3-legacy in our environment. I found this solved ticket #12162 but is it possible, that its only available in the Quarkus distribution of keycloak?
Thank you and best regards
David
All reactions