BTC $64,945.26 +0.05%
ETH $1,829.83 +0.47%
BNB $593.54 +0.23%
XRP $0.9648 +0.54%
SOL $72.56 +0.68%
TRX $0.3056 +0.48%
DOGE $0.0592 +0.56%
ADA $0.1540 +0.26%
BCH $209.14 +0.44%
LINK $9.19 -0.10%
HYPE $69.98 +5.68%
AAVE $112.13 +2.67%
SUI $0.7265 -0.09%
XLM $0.1392 -0.25%
ZEC $918.36 +2.68%
AAPL $353.71 -0.95%
AMZN $258.66 -2.26%
GOOGL $284.83 -3.13%
MSFT $519.04 -0.95%
META $625.91 -1.64%
NVDA $158.04 -2.80%
TSLA $380.63 -1.72%
SNDK $823.65 -3.25%
INTC $55.08 -4.99%
SPCX $138.19 -1.09%
MU $731.91 -3.12%
AMD $516.79 -0.68%
BTC $64,945.26 +0.05%
ETH $1,829.83 +0.47%
BNB $593.54 +0.23%
XRP $0.9648 +0.54%
SOL $72.56 +0.68%
TRX $0.3056 +0.48%
DOGE $0.0592 +0.56%
ADA $0.1540 +0.26%
BCH $209.14 +0.44%
LINK $9.19 -0.10%
HYPE $69.98 +5.68%
AAVE $112.13 +2.67%
SUI $0.7265 -0.09%
XLM $0.1392 -0.25%
ZEC $918.36 +2.68%
AAPL $353.71 -0.95%
AMZN $258.66 -2.26%
GOOGL $284.83 -3.13%
MSFT $519.04 -0.95%
META $625.91 -1.64%
NVDA $158.04 -2.80%
TSLA $380.63 -1.72%
SNDK $823.65 -3.25%
INTC $55.08 -4.99%
SPCX $138.19 -1.09%
MU $731.91 -3.12%
AMD $516.79 -0.68%

Cosmos Co-founder: Hackers forged Merkle proofs through RangeProof in the BNB Chain attack incident

2022-10-09 11:54:29

Chain Catcher news, Cosmos co-founder Ethan Buchman commented on the attack incident of the BNB Chain cross-chain bridge BSC Token Hub, stating that the key issue in this incident is that the hacker was able to forge the Merkle proof. This should not have happened, as Merkle proofs are supposed to provide high integrity. Blockchain light clients (and IBC) are built on top of Merkle proofs, and many blockchains store data in Merkle trees, allowing for the generation of proofs that certain data is included in the tree.

The Cosmos chain uses a Merkle tree called IAVL, and the IAVL repository has made an API available that uses a RangeProof. However, it has been found that there are serious flaws in the internal workings of RangeProof. The issue with the IAVL RangeProof code is that it allows the Left and Right fields of the InnerNode to be filled, and the attacker essentially exploited the advantage of pasting information into the Right field, which was never validated and never affected the hash calculation, leading the verifier to believe that certain leaf nodes are part of the tree. As a result, they successfully forged the Merkle proof.

Buchman stated that while using RangeProof is not a good idea, there is a way to address this issue: preemptively rejecting the proof when any internal node has both the left and right fields filled. For the Merkle proof in IBC, IBC does not use the built-in RangeProof system of the IAVL tree, but instead uses the ICS23 standard to generate and validate Merkle proofs from the IAVL tree. The ICS23 code does not have this vulnerability, as it explicitly "rejects" RangeProof. (Source link)

链捕手ChainCatcher nhắc nhở: hãy nhìn nhận blockchain một cách tỉnh táo, nâng cao ý thức rủi ro, cảnh giác với việc phát hành và đầu cơ các token ảo. Mọi nội dung trên trang chỉ là thông tin thị trường hoặc quan điểm của các bên liên quan, không cấu thành bất kỳ hình thức tư vấn đầu tư nào. Nếu phát hiện nội dung nhạy cảm, hãy nhấp , chúng tôi sẽ xử lý kịp thời.

app_icon
ChainCatcher Building the Web3 world with innovations.