January 16, 2024
|

Gamma, TelCoin, Pine: Same Bugs, New Chains

Gamma Strategies’ $6.2M loss came down to a 200% price change threshold that ignored flash loan realities. TelCoin’s proxy setup reused slot 0, letting attackers reinitialize logic contracts for $1.2M. Pine Protocol’s upgrade path introduced cross-version lending holes, and Transit Finance skipped token validation in a swap router. These aren’t novel vectors, they’re recurring footguns wrapped in different wrappers.

In Brief

  • Gamma Strategies suffered a $6.2M price manipulation attack.
  • TelCoin lost $1.2M due to proxy wallet implementation error.
  • Pine Protocol was exploited for $90K using flash loans.
  • Transit Finance got hacked for $115K.

Hacks Analysis

Gamma Strategies | Amount Lost: $6.2M

On January 4th, the Gamma Protocol exploit on the Arbitrum chain resulted in a $6.2M loss. The attacker used flash loans and deposited the funds into Gamma Strategies’ Hypervisor contract, artificially inflating the USDC.e token’s price and enabling the attacker to gain profits. Gamma Strategies acknowledged the incident, stating that the price change threshold to prevent flash loan attacks was set too high, allowing a price change range of up to 200%. They assured that the price change threshold would be lowered to avert future exploits.

Press enter or click to view image in full size

Exploit Contract (on Arbitrum chain): 0x45EF94207E84d667D739270eE0e65AD311f74B34

Transaction Hash: 0x1b9911770ef30e51ecec6992c623c79af9871e2898d34f2adaeb8a8ab1a75354

TelCoin | Amount Lost: $1.2M

On December 25th, the TelCoin exploit on the Polygon chain resulted in a $1.2M loss. The exploit’s root cause was an initialization error during the proxy contract deployment. The attacker took advantage of a mismatch in storage slot 0 between the proxy and implementation contracts, allowing reinitialization of malicious contracts. There were a total of 4,958 transactions to drain funds. TelCoin acknowledged the incident and restored balances for all affected users.

Press enter or click to view image in full size

Exploit Contract (on Polygon chain): 0xdf7837de1f2fa4631d716cf2502f8b230f1dcc32

Transaction Hash: 0x8f5bd1eb63ec45026617940cd37e4e3b1f4848ecaf66f57a126c9f24b089ca9b

Pine Protocol | Amount Lost: $90K

On December 22nd, the Pine Protocol exploit on the Ethereum Mainnet resulted in a $90K loss. The root cause of the exploit was that Pine Protocol’s shared pools between old and new contract versions enabled an attacker to exploit fund transfers from a single address to different pools. The attacker used this flaw to borrow assets from the new version contract, using them as collateral to borrow more from the old version contract. After repaying the debt to the new version contract, both old and new version contracts wrongly assumed all debt was paid.

Press enter or click to view image in full size

Exploit Contract: 0x2405913d54fc46eeaf3fb092bfb099f46803872f

Transaction Hash: 0x88db033171344c7b89d50f48e1e50ef3a622371cf3ab997613469904838c83ad

Transit Finance | Amount Lost: $115K

On December 20th, the Transit Finance exploit on the BNB chain resulted in a $115K loss. The root cause of the hack was the lack of input validation in Transit Finance’s UniswapV3Router contract. The attacker called the private _executeV3Swap() function with a fake token pair and was able to manipulate the actualAmountIn value. This vulnerability allowed the attacker to drain a total of 36 ETH and 147 BNB.

Press enter or click to view image in full size

Exploit Contract (on BNB chain): 0x00000047bb99ea4d791bb749d970de71ee0b1a34

Transaction Hash: 0x93ae5f0a121d5e1aadae052c36bc5ecf2d406d35222f4c6a5d63fef1d6de1081

What’s a Rich Text element?

The rich text element allows you to create and format headings, paragraphs, blockquotes, images, and video all in one place instead of having to add and format them individually. Just double-click and easily create content.

A rich text element can be used with static or dynamic content. For static content, just drop it into any page and begin editing. For dynamic content, add a rich text field to any collection and then connect a rich text element to that field in the settings panel. Voila!

Headings, paragraphs, blockquotes, figures, images, and figure captions can all be styled after a class is added to the rich text element using the "When inside of" nested selector system.

  1. Follow-up: Conduct a follow-up review to ensure that the remediation steps were effective and that the smart contract is now secure.
  2. Follow-up: Conduct a follow-up review to ensure that the remediation steps were effective and that the smart contract is now secure.

In Brief

  • Remitano suffered a $2.7M loss due to a private key compromise.
  • GAMBL’s recommendation system was exploited.
  • DAppSocial lost $530K due to a logic vulnerability.
  • Rocketswap’s private keys were inadvertently deployed on the server.

Hacks

Hacks Analysis

Huobi  |  Amount Lost: $8M

On September 24th, the Huobi Global exploit on the Ethereum Mainnet resulted in a $8 million loss due to the compromise of private keys. The attacker executed the attack in a single transaction by sending 4,999 ETH to a malicious contract. The attacker then created a second malicious contract and transferred 1,001 ETH to this new contract. Huobi has since confirmed that they have identified the attacker and has extended an offer of a 5% white hat bounty reward if the funds are returned to the exchange.

Exploit Contract: 0x2abc22eb9a09ebbe7b41737ccde147f586efeb6a

Ready to Shift Security Assurance In-House? Talk to Our Security Experts Today.