Project

One World
NFTDeFi
15,000 USDC
View results
Submission Details
Severity: low
Invalid

`NativeMetaTransaction::executeMetaTransaction` should check if the called function is another `executeMetaTransaction`

Vulnerability Details

Since NativeMetaTransaction is inhereted by two contracts (OWPIdentity and MembershipFactory), we should check if the called function is another executeMetaTransaction to avoid recursive calls between the two contracts.

Tools Used

Manual review.

Recommendations

function executeMetaTransaction(
address userAddress,
bytes memory functionSignature,
bytes32 sigR,
bytes32 sigS,
uint8 sigV) {
+ bytes4 destinationFunctionSig = convertBytesToBytes4(functionSignature);
+ require(destinationFunctionSig != msg.sig, "functionSignature can not be of executeMetaTransaction method");
// ...
}
Updates

Lead Judging Commences

0xbrivan2 Lead Judge 9 months ago
Submission Judgement Published
Invalidated
Reason: Lack of quality
0xbrivan2 Lead Judge 9 months ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Appeal created

x18a6 Submitter
9 months ago
x18a6 Submitter
9 months ago
0xbrivan2 Lead Judge
9 months ago
0xbrivan2 Lead Judge 9 months ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.