Description
SkillHub before 0.2.22 contains an incorrect authorization vulnerability in AccountMergeService and AccountMergeController that allows authenticated attackers to take over other accounts by abusing the merge flow. Attackers can call the merge initiate endpoint with a target username or OAuth identity, receive the verification token directly, and confirm the merge to inherit the victim's API tokens, roles and namespace ownership.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| iflytek | skillhub | < 0.2.22 | 0.2.22 |
References
- GitHub Issue #921 issue-tracking
- https://github.com/iflytek/skillhub product
- https://github.com/iflytek/skillhub/commit/45228996c7dd67f9304dba5b221fef15138a7fc4 patch
- skillhub v0.2.22 Release Notes release-notes
- https://github.com/iflytek/skillhub/blob/v0.2.21/server/skillhub-auth/src/main/java/com/iflytek/skillhub/auth/merge/AccountMergeService.java#L95-L109 technical-description
- VulnCheck Advisory: SkillHub before 0.2.22 Account Takeover via Account Merge Flow third-party-advisory