Open code423n4 opened 1 year ago
0xSorryNotSorry marked the issue as primary issue
deanamiel marked the issue as sponsor confirmed
Support has been added for non-EVM addresses. Public PR links: https://github.com/axelarnetwork/interchain-governance-executor/pull/21 https://github.com/axelarnetwork/interchain-governance-executor/pull/33
berndartmueller marked the issue as selected for report
Lines of code
https://github.com/code-423n4/2023-07-axelar/blob/2f9b234bb8222d5fbe934beafede56bfb4522641/contracts/interchain-governance-executor/InterchainProposalExecutor.sol#L24-L27
Vulnerability details
Impact
Axelar is supposed to support different chains, not only EVM. And this chains can have different address standard like Polkadot, Tron. This addresses can't be whitelisted in InterchainProposalExecutor.sol to execute proposal. Thus InterchainProposalSender implementation from non-EMV chain can't interact with InterchainProposalExecutor.sol on EVM chain.
Proof of Concept
Here you can see that sourceAddress is represented as
address
, notstring
:Tools Used
Manual Review
Recommended Mitigation Steps
Don't convert sourceAddress to
address
, usestring
insteadAssessed type
Invalid Validation