
ID:
metabanka-token-1402
100 pts
Platform:
Type:
Category:
Method:
Data Sources:
Binance Smart Chain
Assets
Token
Contract Vulnerabilities
Extended Method:
Incorrect calculation of rewards
Days in Operation:
50
(0.14 Years)





100 pts each
MetaBankA token was attacked and the exploiter was able to drain ~$14k from the pool. The loss was from the staking pool contract. The root cause is on the "award" feature but it calculated the value wrong. It uses the balance of swap but they should use the reserved value of the swap.
The attacker called CREATE2 to create a new contract and use the new contract created another contract by calling CREATE2 again. By doing that attacker could gain the "award" MBA token in sendRecommend() functions.
DISCLAIMER: While web3rekt has used the best efforts in aggregating and maintaining this database, this web site makes no representations or warranties with respect to the accuracy or completeness of its information and data herein, and specifically disclaim any implied warranties of merchantability or fitness for any particular purpose.
​
Under no circumstances, shall web3rekt be liable for any loss of profit or funds, any regulatory or governmental penalties, any legal costs, or any other commercial and non-commercial damages, including but not limited to special, incidental, consequential, or other damages from any or all usage of the data and information derived from this database.