Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: high
Invalid

executeTransaction() should allow calls from bootloader only

Summary

Vulnerability Details

The executeTransaction() can be called by the owner, and it does not validate the transaction sent by the owner. An attacker can trick the user in sending
invalid transaction which will be executed without checking.

Impact

Attacker can execute any transaction on the wallet taking full control.

Tools Used

Manual review

Recommendations

Replace the requireFromBootLoaderOrOwner modifier with requireFromBootLoader on executeTransaction

function executeTransaction(bytes32, /*_txHash*/ bytes32, /*_suggestedSignedHash*/ Transaction memory _transaction)
external
payable
requireFromBootLoader
{
_executeTransaction(_transaction);
}
Updates

Lead Judging Commences

bube Lead Judge 11 months ago
Submission Judgement Published
Invalidated
Reason: Too generic

Support

FAQs

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