26286 - [SC - Insight] Potential Signature Validation Bypass
Description
Bug Description
function verifySignatures(
bytes32 signHash,
address[] memory signers,
bytes[] memory signatures
)
internal
view
returns (bool)
{
require(signers.length == signatures.length, "BAD_SIGNATURE_DATA");
address lastSigner;
for (uint i = 0; i < signers.length; i++) {
require(signers[i] > lastSigner, "INVALID_SIGNERS_ORDER");
lastSigner = signers[i];
if (!verifySignature(signHash, signers[i], signatures[i])) {
return false;
}
}
return true;
}Impact
Risk Breakdown
Recommendation
References
Proof of concept
Previous26275 - [SC - Insight] Bad implementation of executeTransaction functi...Next26422 - [SC - Insight] there is no explicit gas limit in external call...
Last updated
Was this helpful?