How I Used a JSON Deserialization Oday to Steal Your Money on the Blockchain

JSON 反序列化和区块链有什么关系?我们实验室将在今年 Blackhat US 会议上发表这项研究。

Hao Xing I Senior Security Researcher, Tencent Security Xuanwu Lab
Zekai Wu | Security Researcher, Tencent Security Xuanwu Lab
Format:40-Minute Briefings
Tracks: Exploit Development, Applied Security
How I Used a JSON Deserialization Oday to Steal Your Money on the Blockchain_第1张图片
Fastjson is a widely used open source JSON parser with 23’100 stars on GitHub. As a basic module of countless java web services, it serves hundreds of millions of users. We managed to find a way to bypass many security checks and mitigations by using the inheritance process of some basic classes, and achieve remote code execution successfully. We will disclose these high-risk and universal gadgets for the first time in this talk.

Now,we can control many important websites and affect millions of users. Let’s make things more interesting. We found that this fastjson vulnerability affects a multi- billion-dollar blockchain.We designed multiple complex gadgets based on the features of the blockchain, and exquisitely achieved information leakage and pointer hijacking. Putting all these gadgets together,we achieved remote code execution on the blockchain nodes.

However,generally after remote code execution, we seem to have no better exploit method other than the 51% attack,which will lead to serious accounting confusion. After a detailed analysis of the architecture design of the public blockchain, we found a way from RCE to steal the public blockchain users’ assets almost without any notification.

To the best of our knowledge, this is the first published attack case on the realization of covertly stealing user assets after RCE on the public blockchain nodes.We will propose a more covert post penetration exploit method for public blockchain nodes in this talk.

Blockchain is not bulletproof to security vulnerability and we hope our work can notify blockchain developers and users to be more careful about security.

引自https://m.weibo.cn/1401527553/4641882380697953

你可能感兴趣的:(笔记)