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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
HuLaSpark HuLa-Server
Default version status: unaffected
0 to ≤ 3.0.7affected
References
- https://github.com/HuLaSpark/HuLa-Server/issues/34 ↗
- 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 ↗
- https://hackmd.io/@hieuPenguinnn/hula-server-idor-privacy-feed-friend ↗
- https://github.com/HuLaSpark/HuLa-Server ↗
- https://www.vulncheck.com/advisories/hula-server-through-3.0.7-idor-via-user-friend-page-friend-list-disclosure ↗