Lucene search
+L

2 matches found

Code423n4
Code423n4
•added 2022/06/02 12:00 a.m.•9 views

UpdateReward Modifier is brickable

Lines of code Vulnerability details Impact Detailed description of the impact of this finding. The private variable RewardTokens is an unbounded list of addresses that the modifier updateReward loops over and updates the state variable rewardTokenInfo. The gas consumption can become increasingly...

7AI score
SaveExploits0
Code423n4
Code423n4
•added 2022/05/15 12:00 a.m.•10 views

User can forfeit other user rewards

Lines of code Vulnerability details Impact User can forfeit other user rewards by giving a higher startIndex in getReward function Proof of Concept 1. Assume User B has not received any reward yet so that his userClaimstokenUser B=0 2. User A calls getReward function with account as User B and...

6.7AI score
SaveExploits0
Rows per page
Query Builder