Open code423n4 opened 3 years ago
Great find, resolved in https://github.com/AmbireTech/adex-protocol-eth/commit/5c5e6f0cb47e83793dafc08630577b93500c86ab
The warden has found that the method cancel
was calculating the wrong hashTx
, this hash, used to verify which transaction to cancel, making it impossible to cancel a transaction.
The sponsor has mitigated in a subsequent pr
Handle
WatchPug
Vulnerability details
In
QuickAccManager.sol#cancel()
, thehashTx
to identify the transaction to be canceled is wrong. The last parameter is missing.As a result, users will be unable to cancel a scheduled transaction.
https://github.com/code-423n4/2021-10-ambire/blob/bc01af4df3f70d1629c4e22a72c19e6a814db70d/contracts/wallet/QuickAccManager.sol#L91-L91
Recommendation
Change to: