Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| dromara / RuoYi-Vue-Plus | affected 0 through 6.0.0 |
CWE
CWE-639
References
- https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/ruoyi-vue-plus-social-unbind-idor
- https://github.com/dromara/RuoYi-Vue-Plus/blob/7180b529776834fee912113b23f0bd7a387a8222/ruoyi-admin/src/main/java/org/dromara/web/controller/AuthController.java#L156-L162
- 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
- https://github.com/dromara/RuoYi-Vue-Plus
- https://www.vulncheck.com/advisories/ruoyi-vue-plus-through-6.0.0-idor-via-delete-auth-unlock-socialid
ADP enrichment
No English description supplied.