Attacker can attach malicious code using the referrer URL using new account console. https://issues.redhat.com/browse/KEYCLOAK-17033
Acknowledgments: Name: Manh Van Nguyen ( ManhNV) (email: nguyenmanh0397)
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2021-20222
*** Bug 1922216 has been marked as a duplicate of this bug. ***
Hi Team, Can you please let me know if this vulnerability is present in Keycloak 11.0.1? Thanks, Ajay Jaiswal
(In reply to ajaiswal595 from comment #10) > Hi Team, > Can you please let me know if this vulnerability is present in Keycloak > 11.0.1? > Thanks, > Ajay Jaiswal Hi Ajay, This vulnerability is present in keycloak's New Account console which was first introduced in keycloak version 9. https://issues.redhat.com/browse/KEYCLOAK-6197 However in keycloak version 11.0.1, this new account console is available but not enabled by default and also a tech preview feature. So I would say the vulnerability is present in keycloak version 11.0.1 but in a tech preview feature and also need to be explicitly enabled by adding some system properties at starting up the server. This would make it a Low impact Vulnerability. This issue has been fixed in keycloak version 12.0.3 via the below PR https://github.com/keycloak/keycloak-prod/pull/421 Note : This Pull Request is for internal repo so you would need access for keycloak-prod to see the PR. Hope this helps! -Param
Thanks, Param for your response, How would I get access to the PR https://github.com/keycloak/keycloak-prod/pull/421 ? If any lead would be great. Regards -Ajay
How to enable new account console feature in Keycloak 11.0.1 which is tech preview feature. I tried looking into standalone.xml but did not see any feature tag provided by default.
(In reply to ajaiswal595 from comment #13) > How to enable new account console feature in Keycloak 11.0.1 which is tech > preview feature. > > I tried looking into standalone.xml but did not see any feature tag provided > by default. Use these below system properties while starting the keycloak server : -Dkeycloak.profile.feature.account_api=enabled -Dkeycloak.profile.feature.account2=enabled and choose "preview" account console theme from the admin console Themes tab.