Lucene search
+L

2 matches found

Code423n4
Code423n4
added 2021/10/06 12:00 a.m.9 views

functions permit and permitAll can be tricked by an invalid signature

Handle pauliax Vulnerability details Impact When the signature is not valid, ecrecover returns empty 0x0 address. There is a potential check against that: require recoveredAddress != address0 && recoveredAddress == owner || isApprovedForAllownerrecoveredAddress, "INVALIDPERMITSIGNATURE" ; However...

7AI score
SaveExploits0
Code423n4
Code423n4
added 2021/10/06 12:00 a.m.13 views

TridentNFT.permit should always check recoveredAddress != 0

Handle cmichel Vulnerability details The TridentNFT.permit function ignores the recoveredAddress != 0 check if isApprovedForAllownerrecoveredAddress is true. Impact If a user accidentally set the zero address as the operator, tokens can be stolen by anyone as a wrong signature yield...

6.9AI score
SaveExploits0
Rows per page
Query Builder