51801 sc medium supra callback allows for theft of gas
Description
Brief / Intro
Vulnerability Details
if (
keccak256(bytes(rewardCategory)) == keccak256("Jackpot")
|| keccak256(bytes(rewardCategory)) == keccak256("Plume Token")
) {
_safeTransferPlume(user, rewardAmount * 1 ether);
}Impact Details
Proof of Concept
1
2
3
4
5
6
References
Previous50477 sc high validator loses all accrued commission when reward token is removedNext49939 sc high initial timestamp mismatch might lead to users being able to spin twice in the same day
Was this helpful?