Poolz suffers from a security vulnerability attack, affecting assets worth $665,000.

robot
Abstract generation in progress

Poolz encounters a security incident, approximately $665,000 in assets affected

Recently, multiple Poolz projects on various blockchain networks encountered security incidents, leading to the illegal extraction of a large number of tokens. The incident occurred around 3:16 AM UTC on March 15, 2023, affecting several networks including Ethereum, BNB Smart Chain, and Polygon.

According to on-chain data, this incident involves multiple tokens, including MEE, ESNC, DON, ASW, KMON, POOLZ, etc. The total value of the tokens extracted is approximately $665,000. Currently, some of the extracted tokens have been exchanged for BNB, but have not yet been transferred to other addresses.

Poolz suffered an attack due to an arithmetic overflow issue, with losses of approximately $665K!

Analysis shows that the root cause of this incident is the arithmetic overflow vulnerability in the smart contract. The attacker cleverly exploited the vulnerability in the CreateMassPools function to perform low-cost large-scale withdrawal operations. Specifically, when creating the liquidity pool, the attacker took advantage of the integer overflow issue in the getArraySum function, resulting in the amount recorded by the system being much greater than the actual deposit.

The event process is roughly as follows:

  1. The attacker first exchanged a small amount of MNZ tokens through a decentralized exchange.

  2. Then the CreateMassPools function was called, which allows users to create liquidity pools in bulk and provide initial liquidity.

  3. When creating the pool, the attacker cleverly crafted the input parameters so that the return value of the getArraySum function became very small due to overflow, while the actual recorded deposit amount was a very large number.

  4. Finally, the attacker withdrew tokens far exceeding the actual amount deposited through the withdraw function.

Poolz suffered an attack due to an arithmetic overflow issue, resulting in a loss of approximately 665K USD!

To prevent similar incidents from occurring again, industry experts recommend that developers take the following measures:

  1. Use a newer version of the Solidity programming language, which has built-in overflow checking mechanisms.

  2. For projects using older versions of Solidity, it may be worth considering the introduction of OpenZeppelin's SafeMath library to handle integer operations and avoid overflow issues.

  3. Strengthen code audits, paying special attention to parts that may lead to arithmetic overflow.

  4. Consider introducing additional security mechanisms such as multi-signature to add a layer of protection for critical operations.

Poolz suffered an attack due to an arithmetic overflow issue, resulting in a loss of approximately $665K!

This event serves as a reminder to blockchain project developers and users that security should always be the top consideration in the rapidly evolving cryptocurrency ecosystem. Project teams should continuously improve security measures, while users should remain vigilant and participate cautiously in various DeFi activities.

Poolz suffered an attack due to an arithmetic overflow issue, resulting in a loss of approximately 665K USD!

View Original
This page may contain third-party content, which is provided for information purposes only (not representations/warranties) and should not be considered as an endorsement of its views by Gate, nor as financial or professional advice. See Disclaimer for details.
  • Reward
  • 7
  • Share
Comment
0/400
CoffeeNFTsvip
· 07-15 08:29
Another project is doomed... It seems that smart contracts are not that smart either.
View OriginalReply0
FOMOSapienvip
· 07-13 17:33
Another small project is done for.
View OriginalReply0
GweiTooHighvip
· 07-13 17:31
Another project is doomed, so tragic.
View OriginalReply0
pumpamentalistvip
· 07-13 17:30
Is it another old problem with smart contracts?
View OriginalReply0
ProxyCollectorvip
· 07-13 17:28
Small projects are really miserable, they have been exploited again.
View OriginalReply0
SilentObservervip
· 07-13 17:22
Another naked swim, play people for suckers.
View OriginalReply0
GasWastervip
· 07-13 17:17
The daily coin theft operations are becoming increasingly sophisticated.
View OriginalReply0
Trade Crypto Anywhere Anytime
qrCode
Scan to download Gate app
Community
English
  • 简体中文
  • English
  • Tiếng Việt
  • 繁體中文
  • Español
  • Русский
  • Français (Afrique)
  • Português (Portugal)
  • Bahasa Indonesia
  • 日本語
  • بالعربية
  • Українська
  • Português (Brasil)