You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The developer failed to check the ownership of the addressId when querying the address details via addressService.getById(), leading to any address can be traversed by GET /app-api/v1/addresses/{ids} to get details, leaking user privacy data.
To address this vulnerability, we strongly advise that developers implement access control policies that limit API access to admin users or the owner of the address.
The text was updated successfully, but these errors were encountered:
Recently, our team found an arbitrary address information access vulnerability in the latest version of the project.
The vulnerability logic is present in the file: https://github.com/youlaitech/youlai-mall/blob/master/mall-ums/ums-boot/src/main/java/com/youlai/mall/ums/controller/app/AddressController.java#L35.
The developer failed to check the ownership of the
addressId
when querying the address details viaaddressService.getById()
, leading to any address can be traversed byGET /app-api/v1/addresses/{ids}
to get details, leaking user privacy data.To address this vulnerability, we strongly advise that developers implement access control policies that limit API access to admin users or the owner of the address.
The text was updated successfully, but these errors were encountered: