Open hats-bug-reporter[bot] opened 4 months ago
is the attack scenario is the superSafe can't execute the executionOnBehalf
, is not a issue is a expected behavior, becuase the root safe remove this Super Safe, not must be the ability to executio any transaction on Behalf any child Safe into the On chain organization!!
if i misunderstood the attack scenarios or missed something, pls clarify more!!
hey @alfredolopez80 ,u misunderstood the issue.
The core problem is not about the removed super safe
trying to execute transactions. Instead, the issue arises when legitimate entities (such as the root safe
, safe lead
, or other authorized safes) attempt to execute transactions after the super safe has been removed.
When a super safe
is removed by the root safe
, the execTransactionOnBehalf
function will revert
, preventing the transaction from being executed by the root safe
, safe lead
, or other authorized safes(even if these roles has permission to execute transaction on behalf). This is because the function relies on the superSafe being registered and having the necessary permissions, which is no longer the case once it is removed.
Github username: -- Twitter username: -- Submission hash (on-chain): 0xe4d08a68ff643785f381b8c45a8daacfee9ad47310ab7b066a4b892aa934468d Severity: high
Description: Description\ The
execTransactionOnBehalf
function in thePalmeraModule
contract is designed to allowroot safes
,super safes
, andsafe leads
to execute transactions on behalf of a target safe. However, if a super safe isnot added
or isremoved
by the root safe, the function will revert, preventing the transaction from being executed. This can lead to a situation where legitimate transactions cannot be processed, potentially disrupting the operations of the organization.Attack Scenario\
Attachments
Proof of Concept (PoC) File
Revised Code File (Optional)
The current implementation of the execTransactionOnBehalf function can lead to situations where transactions cannot be executed if the super safe is removed. Implementing a fallback mechanism for the root safe can help ensure that legitimate transactions can still be processed, maintaining the smooth operation of the organization