User not santa can call checklist()
for any adress to set first pass.
Function checkList()
not verify user so anyone can call and set status in s_theListCheckedOnce
for any address.
Test POC:
If set status in s_theListCheckedTwice
will set base on s_theListCheckedOnce
, attacker change status in checkedOnce to eligible for a present.
If status s_theListCheckedTwice
of user have updated, attacker can update status in s_theListCheckedOnce
to make user can't collect Present
Manual Review & Foundry
Add modifier onlySanta
to make sure only function only callable by santa
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.