Hackers can reentrance function claimAllRewards or claimSingleReward to drain the pool.
Function claimAllRewards and claimSingleReward aims to claim some native token as the rewards.
The problem is that malicious users can reentrance this function via the receiver's fallback() function. And the actual storage variable rewardsOwned is updated after the reentrancy point.
Hackers can make use of this reentrancy point to drain the whole pool.
Hackers can make use of this reentrancy vulnerability to drain this whole pool.
Manual
Add non-reentracy protection for function claimAllRewards and claimSingleReward.
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.