Description
HuLa-Server through 3.0.7 contains an insecure direct object reference vulnerability in FriendController.friendList that allows authenticated users to view other users' friend lists by supplying a uid parameter. Attackers can send GET requests to /user/friend/page with a victim's uid, bypassing the missing administrator or owner check to read any user's contact list.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| HuLaSpark | HuLa-Server | ≤ 3.0.7 | — |
References
- https://github.com/HuLaSpark/HuLa-Server/issues/34 issue-tracking
- https://github.com/HuLaSpark/HuLa-Server/blob/v3.0.7/luohuo-cloud/luohuo-im/luohuo-im-controller/src/main/java/com/luohuo/flex/im/controller/user/FriendController.java#L59-L66 technical-description
- https://hackmd.io/@hieuPenguinnn/hula-server-idor-privacy-feed-friend third-party-advisory
- https://github.com/HuLaSpark/HuLa-Server product
- VulnCheck Advisory: HuLa-Server through 3.0.7 IDOR via /user/friend/page Friend List Disclosure third-party-advisory