Description
HuLa-Server through 3.0.7 contains an insecure direct object reference vulnerability in PrivacyController that allows authenticated users to access other users' privacy settings by supplying their uid. Attackers can send GET or POST requests to /privacy with a target uid parameter to read and overwrite that user's UserPrivacy settings without ownership checks.
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/PrivacyController.java#L25-L36 ↗
- https://github.com/HuLaSpark/HuLa-Server/blob/v3.0.7/luohuo-cloud/luohuo-im/luohuo-im-biz/src/main/java/com/luohuo/flex/im/core/user/service/impl/PrivacyServiceImpl.java#L20-L35 ↗
- 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-privacy-endpoint-in-privacycontroller ↗