Fetch the repository succeeded.
Recently, our team found an Arbitrary Order confirm vulnerability in the latest version of the project.
The vulnerability logic is present in the file:https://gitee.com/old-peanut/wechat_applet__open_source/blob/new/platform-api/src/main/java/com/platform/api/ApiOrderFxController.java#225.
The operation com.platform.dao.ApiOrderMapper.queryObject()
is not protected by permission checks,
while the request of path confirmOrder
is also unauthorized, which means an attacker can achieve Arbitrary Order confirm.
To address this vulnerability, we strongly advise that developers implement access control policies that limit API access to admin users or the owner.