You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Malicious signer, who have already been revoked the signer hat but have not been removed yet, can submit a signature to Safe transaction, resulting in the transaction revert.
Root Cause
In the HatsSignerGate::checkTransaction function have a check to make sure that have enough valid signatures to execute the transaction.
functioncheckTransaction(
...
bytesmemorysignatures,
...
)publicoverride{
...
// count the number of valid signatures and revert if there aren't enough=>if(_countValidSignatures(txHash,signatures,threshold)<threshold)revertInsufficientValidSignatures();}
The _countValidSignatures(txHash, signatures, threshold) < threshold condition will happen when have one signer, who submit one signature in the list signatures, currently is not the wearer of the registered hat and haven't removed yet. As a result, the transaction will revert.
Malicious signer, who have already been revoked the signer hat but have not been removed yet, submit a signature to Safe transaction.
This cause the HatsSignerGate::checkTransaction function revert and the transaction revert too.
Impact
Malicious signer can DOS the transaction execute until them is removed.
PoC
No response
Mitigation
No response
The text was updated successfully, but these errors were encountered:
sherlock-admin2
changed the title
Elegant Carbon Nightingale - DoS Attack by Malicious Signer in HatsSignerGate
Ragnarok - DoS Attack by Malicious Signer in HatsSignerGate
Nov 27, 2024
Ragnarok
Medium
DoS Attack by Malicious Signer in HatsSignerGate
Summary
Malicious signer, who have already been revoked the signer hat but have not been removed yet, can submit a signature to Safe transaction, resulting in the transaction revert.
Root Cause
In the
HatsSignerGate::checkTransaction
function have a check to make sure that have enough valid signatures to execute the transaction.HatsSignerGate::checkTransaction function:
The
_countValidSignatures(txHash, signatures, threshold) < threshold
condition will happen when have one signer, who submit one signature in the listsignatures
, currently is not the wearer of the registered hat and haven't removed yet. As a result, the transaction will revert.HatsSignerGate::_countValidSignatures function:
Internal pre-conditions
No response
External pre-conditions
No response
Attack Path
HatsSignerGate::checkTransaction
function revert and the transaction revert too.Impact
Malicious signer can DOS the transaction execute until them is removed.
PoC
No response
Mitigation
No response
The text was updated successfully, but these errors were encountered: