Recently, our team found an arbitrary square update vulnerability in the latest version of the project.
The vulnerability logic is present in the file:https://github.com/Thecosy/IceCMS/blob/main/IceCMS-ment/src/main/java/com/ttice/icewkment/controller/backend/SquareController.java#89.
The operation com.baomidou.mybatisplus.core.mapper.BaseMapper<Square>.update(com.ttice.icewkment.entity.Square,com.baomidou.mybatisplus.core.conditions.Wrapper) is not protected by permission checks, which means an attacker can achieve arbitrary square update.
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 square update vulnerability in the latest version of the project.
The vulnerability logic is present in the file:https://github.com/Thecosy/IceCMS/blob/main/IceCMS-ment/src/main/java/com/ttice/icewkment/controller/backend/SquareController.java#89.
The operation
com.baomidou.mybatisplus.core.mapper.BaseMapper<Square>.update(com.ttice.icewkment.entity.Square,com.baomidou.mybatisplus.core.conditions.Wrapper)is not protected by permission checks, which means an attacker can achieve arbitrary square update.To address this vulnerability, we strongly advise that developers implement access control policies that limit API access to admin users or the owner.