Repository navigation
How to prevent phishing injections in error_description on Keycloak pages? #41862
Replies: 1 comment 1 reply
Please follow https://www.keycloak.org/security to report suspected security issues - cc @keycloak/cloud-native
I don't believe there is. Is the issue here more that the text is not displayed by default in such a way to clarify this is an error message? cc @keycloak/ui |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
8000
Uh oh!
There was an error while loading. Please reload this page.
Going through Keycloak there's places like the account console where any text is accepted in error_description.
This leads to a phishing pathway if someone is sent a crafted URL with fake support phone numbers or URLs, such as /realms/test-realm/account?error=problem&error_description=Your+account+is+disabled+call+1-800-malicious+for+help
While it's encoded, the information can be displayed in a way to trick users into calling a number thinking it's trusted due to it being "on the page".
I can't have any page accepting user input values without validating against a known good list.
Is there somewhere centralized I can get that in place easily without having to touch a lot of stuff?
All reactions