After the redrawing the winner can lose his NFT for the Admin #284
Labels
3 (High Risk)
Assets can be stolen/lost/compromised directly
bug
Something isn't working
duplicate-146
satisfactory
satisfies C4 submission criteria; eligible for awards
upgraded by judge
Original issue severity upgraded from QA/Gas by judge
Lines of code
https://github.com/code-423n4/2022-12-forgeries/blob/main/src/VRFNFTRandomDraw.sol#L304-L320
Vulnerability details
Impact
The owner can manipulate the raffle by deprivation of a specific address (winner)
Proof of Concept
Please copy the following POC on VRFNFTRandomDraw.t.sol
Recommended Mitigation Steps
In case of
redraw()
the new winner need some time to, before the admin can invokelastResortTimelockOwnerClaimNFT()
successfullyThe text was updated successfully, but these errors were encountered: