github.com/tharsis/evmos
Affected
- introduced
0, fixed2.0.1(semver)
Fixed versions
2.0.1
Fix
- Fixed version
2.0.1go get github.com/tharsis/[email protected]
Advisory
Also known as: CVE-2022-24738, GO-2022-0348
Account compromise in Evmos
Impact
_What kind of vulnerability is it? Who is impacted?_
Classification
The vulnerability has been classified as critical with a score of 9.0 (highest). It has the potential to affect and drain unclaimed airdrop funds from Cosmos and Osmosis eligible user addresses.
Disclosure
The attack requires advanced knowledge of the internals of the core and application packages of IBC, IBC relayers, the Cosmos SDK AnteHandler, and the Evmos x/claims module. The step-by-step attack is described below:
AnteHandler that skips signature verification for transactions, specifically IBC MsgTransfer. This allows the attacker to impersonate any account by setting a custom sender address field of the IBC transfer message.recipient address from the transfer message with an address they control.Users impacted
No users have suffered the loss of funds as no malicious chains have been connected to Evmos.
Patches
_Has the problem been patched? What versions should users upgrade to?_
The patch involves defining a list of authorized channels for chains that are connected to Evmos via IBC. This restricts the chains that have the capability of migrating users' claims records as per the specification. By default, the authorized destination channels are "channel-0" (Osmosis) and "channel-3" (Cosmos Hub).
Please upgrade your mainnet node and validator to `v2.0.1` ASAP.
Workarounds
_Is there a way for users to fix or remediate the vulnerability without upgrading?_
No, the fix for the critical vulnerability is state machine breaking. An upgrade procedure must be coordinated with the nodes running the network.
References
_Are there any links users can visit to find out more?_
For more information
If you have any questions or comments about this advisory:
Thanks to the Core IBC team at Interchain GmbH for the secure disclosure of this vulnerability
High Basis: The source's own band: HIGH
0, fixed 2.0.1 (semver)2.0.1
2.0.1go get github.com/tharsis/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0