Nonce verification is missing in the NativeMetaTransaction::executeMetaTransaction function
The NativeMetaTransaction::executeMetaTransaction
function does not include a check to verify that the nonce used in the signature is correct and has not been used before. This omission can lead to potential signature replay attacks, where an attacker could reuse a valid signature to perform unauthorized operations.
Signature replay attacks.
Manual review.
Consider including the nonce in the function arguments and a nonce verification step in the NativeMetaTransaction::executeMetaTransaction
function to ensure that each nonce is used only once. This can be achieved by checking the current nonce for the userAddress
against the now provided nonce in the function call and then incrementing the nonce after a successful verification.
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.