The setOrganizer(address _organizer) function allows the owner to set the organizer address.
Explain the specific issue:
The function does not check if the new organizer address is the zero address, which could accidentally disable all organizer-only functionality.
If the organizer is set to address(0), all functions protected by onlyOrganizer become permanently inaccessible.
This could happen due to a mistake or malicious action by the owner.
Likelihood:
This will occur if the owner mistakenly sets the organizer to address(0).
This will occur if a malicious owner wants to disable the contract.
This will occur if there is a bug in deployment scripts or upgrade logic.
This will occur if the contract is forked or reused without proper checks.
Impact:
All organizer-only functions become permanently inaccessible.
Loss of contract functionality and user funds.
Users may lose trust in the platform due to accidental or malicious disabling.
The contract may require emergency migration or upgrade.
Owner/admin is trusted / Zero address check - Informational
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.