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

Anyone can call checkList.

Summary

checkList should only be called by Santa, but anyone can call it.

Vulnerability Details

The contract has a modifier, onlySanta, which guarantees that only santa can be called, but this function is not assigned that modifier. Therefore, anyone can call this function.

Impact

Anyone can make status changes, which only Santa Claus should be able to do.

Tools Used

Manual

Recommendations

add onlySanta

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.