Recently, our team found an arbitrary favorite delete vulnerability in the latest version of the project.
The vulnerability logic is present in the file:
|
authed.POST("favorites/delete", api.DeleteFavoriteHandler()) |
.
The operation is not protected by permission checks, which means an attacker can achievearbitrary favorite delete.
To address this vulnerability, we strongly advise that developers implement access control policies that limit API access to admin users or the owner.
Recently, our team found an arbitrary favorite delete vulnerability in the latest version of the project.
The vulnerability logic is present in the file:
gin-mall/routes/router.go
Line 60 in 755f19a
The operation is not protected by permission checks, which means an attacker can achievearbitrary favorite delete.
To address this vulnerability, we strongly advise that developers implement access control policies that limit API access to admin users or the owner.