Keycloak open redirect: wildcard redirect URIs can be exploited to steal tokens
securityblog.omegapoint.se
securityblog.omegapoint.se
[0]: https://github.com/lastlogin-io/obligator#comparison-is-the-...
So, I do assess the risk of a less tested but simpler implementation being way higher than of a well tested complex one.
What leads to the obvious conclusion that it's best to avoid the protocol completely. But if you don't do that, I'd recommend using the mainstream software.
This is an incredibly efficient footgun factory all by itself.
How common is a wildcard in a redirect URL?
Ideally wildcards are only used in dev/staging environments, but if the system allows for misconfiguration, the system will be misconfigured.
The other way might be to put that URL in redis or something, maybe that's better?
If I see a blogpost from 2006 with a security issue it's probably not that relevant anymore.
When was this posted? I don't know. All I see is the CVE date.
Keycloak was good but has too much legacy for 10+ years. Casdoor is pretty new and has become a good replacement for Keycloak for me with more functionalities.
I got curious, actually seems to check out and explains why it's so well documented (but also complex and oftentimes confusing):
> The first production release of Keycloak was in September 2014, with development having started about a year earlier.
https://en.wikipedia.org/wiki/Keycloak
https://github.com/keycloak/keycloak/releases/tag/1.0.0.Fina...
It's kind of cool to see a project successfully survive for so long.
If you configure a dev client with one, the prod backend won't accept this client.
So this is rather, "don't be stupid", than keycloak bad