Evmos vulnerable to exploit of smart contract account and vesting
cve-program · CVE-2024-39696
PublishedEvmos is a decentralized Ethereum Virtual Machine chain on the Cosmos Network. Prior to version 19.0.0, a user can create a vesting account with a 3rd party account (EOA or contract) as funder. Then, this user can create an authorization for the contract.CallerAddress, this is the authorization checked in the code. But the funds are taken from the funder address provided in the message. Consequently, the user can fund a vesting account with a 3rd party account without its permission. The funder address can be any address, so this vulnerability can be used to drain all the accounts in the chain. The issue has been patched in version 19.0.0.
Read the publisher's advisoryeuvd · EUVD-2024-2400
PublishedEvmos is a decentralized Ethereum Virtual Machine chain on the Cosmos Network. Prior to version 19.0.0, a user can create a vesting account with a 3rd party account (EOA or contract) as funder. Then, this user can create an authorization for the contract.CallerAddress, this is the authorization checked in the code. But the funds are taken from the funder address provided in the message. Consequently, the user can fund a vesting account with a 3rd party account without its permission. The funder address can be any address, so this vulnerability can be used to drain all the accounts in the chain. The issue has been patched in version 19.0.0.
Read the publisher's advisorynvd · CVE-2024-39696
PublishedEvmos is a decentralized Ethereum Virtual Machine chain on the Cosmos Network. Prior to version 19.0.0, a user can create a vesting account with a 3rd party account (EOA or contract) as funder. Then, this user can create an authorization for the contract.CallerAddress, this is the authorization checked in the code. But the funds are taken from the funder address provided in the message. Consequently, the user can fund a vesting account with a 3rd party account without its permission. The funder address can be any address, so this vulnerability can be used to drain all the accounts in the chain. The issue has been patched in version 19.0.0.
Read the publisher's advisoryosv · GHSA-q6hg-6m9x-5g9c
Published### Summary This advisory board aims to describe two vulnerabilities found in the Evmos codebase: - _Authorization check on the fundVestingAccount_: unauthorized spend of funds. ### Details #### Authorization check on the fundVestingAccount With the current implementation, a user can create a vesting account with a 3rd party account (EOA or contract) as funder. Then, this user can create an authorization for the contract.CallerAddress, this is the authorization checked in the code. But the funds are taken from the funder address provided in the message. Consequently, the user can fund a vesting account with a 3rd party account without its permission. The funder address can be any address, so this vulnerability can be used to drain all the accounts in the chain. ### Severity Based on [ImmuneFi Severity Classification System](https://immunefisupport.zendesk.com/hc/en-us/articles/13332717597585-Severity-Classification-System) the severity was evaluated to Critical since the attack could have lead to direct loss of funds. ### Patches The issue has been patched in versions >=V19.0.0
Read the publisher's advisoryosv · GO-2024-2974
PublishedEvmos vulnerable to exploit of smart contract account and vesting in github.com/evmos/evmos
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2024-39696 · CVE overview and exploitation status
cve-program · CVE-2024-39696
- https://github.com/evmos/evmos/security/advisories/GHSA-q6hg-6m9x-5g9c
- https://github.com/evmos/evmos/commit/0a620e176617a835ac697eea494afea09185dfaf
euvd · EUVD-2024-2400
- https://github.com/evmos/evmos/security/advisories/GHSA-q6hg-6m9x-5g9c
- https://github.com/evmos/evmos/commit/0a620e176617a835ac697eea494afea09185dfaf
nvd · CVE-2024-39696
- https://github.com/evmos/evmos/commit/0a620e176617a835ac697eea494afea09185dfaf
- https://github.com/evmos/evmos/security/advisories/GHSA-q6hg-6m9x-5g9c
osv · GHSA-q6hg-6m9x-5g9c
- https://github.com/evmos/evmos/security/advisories/GHSA-q6hg-6m9x-5g9c
- https://nvd.nist.gov/vuln/detail/CVE-2024-39696
- https://github.com/evmos/evmos/commit/0a620e176617a835ac697eea494afea09185dfaf
- https://github.com/evmos/evmos
osv · GO-2024-2974
Related changes
Linked by CVE identifierNo related changes are available here.