We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recently, our team found an arbitrary order detail 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-oms/oms-boot/src/main/java/com/youlai/mall/oms/service/impl/OrderServiceImpl.java#L103.
The database query this.baseMapper.listOrderPages() is not protected by permission checks, which allows a regular user to access the details of other users' orders through a customized request to /app-api/v1/orders?memberId= (i.e., https://github.com/youlaitech/youlai-mall/blob/master/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/controller/app/OrderController.java#L34.), leading to a breach of user privacy data.
this.baseMapper.listOrderPages()
/app-api/v1/orders?memberId=
To address this vulnerability, we strongly advise that developers implement access control policies that limit API access to admin users only.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Recently, our team found an arbitrary order detail 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-oms/oms-boot/src/main/java/com/youlai/mall/oms/service/impl/OrderServiceImpl.java#L103.
The database query
this.baseMapper.listOrderPages()
is not protected by permission checks,which allows a regular user to access the details of other users' orders through a customized request to
/app-api/v1/orders?memberId=
(i.e., https://github.com/youlaitech/youlai-mall/blob/master/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/controller/app/OrderController.java#L34.), leading to a breach of user privacy data.To address this vulnerability, we strongly advise that developers implement access control policies that limit API access to admin users only.
The text was updated successfully, but these errors were encountered: