In the updateUserBoost
function, which updates a user's boost value, there may be a vulnerability that allows a caller to arbitrarily modify the boost values of other users.
The user mentions that the function doesn’t verify if the caller is the same as the user, meaning anyone could potentially change another user's boost.
since the function does not compare the caller with the address of the boost being queried, an attacker can deliberately lower other users' boost by using this function
Through this check, if the caller attempts to change the boost of a user other than themselves, an Unauthorized()
error will be triggered, preventing the function from executing.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.