Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: high
Valid

checkList function can be called by anyone

Summary

checkList function does not have onlySanta modifier, so it can be called by anyone

Vulnerability Details

As described in the notice, checkList function can only be called by Santa, but modifer is not added

Impact

Anyone can call checkList, and modify status of anyone in s_theListCheckedOnce.

Tools Used

Foundry

Recommendations

add onlySanta modifier to checkList function

Updates

Lead Judging Commences

inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Validated
Assigned finding tags:

Access Control on checkList()

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.

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.