SantasList::checkList()
function lacks the onlySanta()
modifier, allowing anyone to change the status of any person.
SantasList::checkList()
function is intended to be called only by the address stored at i_santa
but its lacking access control.
A malicious user can prevent a person from receiving a gift by calling checkList()
and setting the victim status to NAUGHTY
Manual review
Add onlySanta()
modifier to the checkList()
function
Anyone is able to call checkList() changing the status of a provided address. This is not intended functionality and is meant to be callable by only Santa.
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.