Description
RuoYi-Vue-Plus through 6.0.0 contains an insecure direct object reference vulnerability that allows authenticated users to delete other users' social login bindings by supplying their socialId. Attackers can send DELETE /auth/unlock/{socialId} requests with a victim's binding id to remove their GitHub, WeChat, or Gitee binding and stored OAuth tokens, blocking social login.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| dromara | RuoYi-Vue-Plus | ≤ 6.0.0 | — |
References
- https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/ruoyi-vue-plus-social-unbind-idor third-party-advisory
- https://github.com/dromara/RuoYi-Vue-Plus/blob/7180b529776834fee912113b23f0bd7a387a8222/ruoyi-admin/src/main/java/org/dromara/web/controller/AuthController.java#L156-L162 technical-description
- https://github.com/dromara/RuoYi-Vue-Plus/blob/7180b529776834fee912113b23f0bd7a387a8222/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/service/impl/SysSocialServiceImpl.java#L116-L118 technical-description
- https://github.com/dromara/RuoYi-Vue-Plus product
- VulnCheck Advisory: RuoYi-Vue-Plus through 6.0.0 IDOR via DELETE /auth/unlock/{socialId} third-party-advisory