Miggo Logo

GHSA-m99c-q26r-m7m7: Evmos vulnerable to unauthorized account creation with vesting module

N/A

CVSS Score

Basic Information

CVE ID
-
EPSS Score
-
CWE
-
Published
4/17/2024
Updated
6/10/2024
KEV Status
No
Technology
TechnologyGo

Technical Details

CVSS Vector
-
Package NameEcosystemVulnerable VersionsFirst Patched Version
github.com/evmos/evmos/v13/x/vestinggo<= 13.0.2
github.com/evmos/evmos/v13go<= 13.0.2

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from improper access controls in CreateClawbackVestingAccount. The advisory explicitly states the remediation requires restricting this function's usage to only the recipient account, indicating it was previously callable by any user. This matches the attack vector described where attackers could arbitrarily create vesting accounts at target addresses. The function's presence in the vesting module and its role in account creation directly align with the described vulnerability mechanism.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

### Imp**t _W**t kin* o* vuln*r**ility is it? W*o is imp**t**?_ Usin* t** v*stin* mo*ul*, * m*li*ious *tt**k*r **n *r**t* * n*w v*stin* ***ount *t * *iv*n ***r*ss, ***or* * *ontr**t is *r**t** on t**t ***r*ss. ***r*ss*s o* sm*rt *ontr**ts **ploy**

Reasoning

T** vuln*r**ility st*ms *rom improp*r ****ss *ontrols in `*r**t**l*w***kV*stin****ount`. T** **visory *xpli*itly st*t*s t** r*m**i*tion r*quir*s r*stri*tin* t*is `*un*tion`'s us*** to only t** r**ipi*nt ***ount, in*i**tin* it w*s pr*viously **ll**l*