Account Takeover in Phase Two's Keycloak Organizations Extension
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
Ferment.fan reports an account-takeover flaw in Phase Two's open-source keycloak-orgs extension for Keycloak. The domain verifier ran after first broker login had already created a user and federated identity link, so a rejected out-of-domain login left both behind. With the default FORCE sync, a later in-domain login could then overwrite the victim's email and obtain a session. Phase Two added a pre-creation check in version 0.199. Existing links need auditing. Most details come from the authors' own local reproduction and disclosure account.