Analysis2023-08-10
2 Minutes Read
Daniel Tan
Security Operation / Audit
Earning.Farm fell victim to smart contract logic vulnerability, suffering loss of approximately 288 ETH.
In a recent turn of events, Earning.Farm, a project deployed on the Ethereum blockchain, has fallen prey to a malicious attack due to contract logic vulnerabilities. As indicated by MetaTrust Alerts' Twitter post, the extent of the damage incurred by this attack has surged to around 288 ETH, equating to a staggering value of approximately $536,000 USD. It's noteworthy that all tokens have been transferred to a new wallet address, specifically 0xee4b3d.
The root cause of this vulnerability can be attributed to a flawed function within the "EFVault" contract, namely the "withdraw" function. This particular function, fraught with logic flaws, allows the user to burn the user's ENF_ETHLEV balance even if it is less than the expected amount of shares.
One of the transactions executed in the course of this attack is depicted below: https://etherscan.io/tx/0x878d8986ed05ab32cc01e05663d27ea471576d2baff1081b15ed5fb550f9d81b Check MetaTrust Alerts' tweet: https://twitter.com/MetaTrustAlert/status/1689196222048030721?s=20
About Us
At MetaTrust, our primary focus is on creating a secure infrastructure that caters to the needs of developers in the WEB 3.0 space. We offer an array of AI-Driven automation tools and security services to assist Web3 developers and project stakeholders in achieving a secure development environment.
Daniel Tan
Security Operation / Audit
Earning.Farm fell victim to smart contract logic vulnerability, suffering loss of approximately 288 ETH.