arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.11677cs.CR
收藏

Ethereum Beacon客户端的安全审查

Security Review of Ethereum Beacon Clients

Jean-Philippe Aumasson, Denis Kolegov, Evangelia Stathopoulou

摘要:

信标链是以太坊向基于验证的可扩展网络演进的支柱。信标客户端是实现操作信标链所需的服务的应用程序,即验证器,信标节点和斜杠。信标客户端中的安全缺陷可能导致资金损失、违反共识规则、网络拥塞和其他不便。我们向beacon客户端开发人员报告了超过35个问题,包括各种安全改进、规范不一致、缺少安全检查、暴露于已知漏洞。我们的发现似乎都不严重。我们介绍了四个主要的beacon客户端,即Lighthouse(Rust)、Nimbus(Nim)、Prysm(Go)和Teku(Java)。在对BLS签名代码进行初步分析之后,我们在为期3个月的项目中寻找新的安全关键组件(BLS签名、slashing、网络协议和API)的逻辑和实现中的错误。我们专注于Lighthouse和Prysm,它们是最受欢迎的客户,因此也是价值最高的目标。此外,我们确定协议级的问题,包括重放攻击和不完全前向保密。此外,我们还审查了信标客户端的网络指纹,讨论了从被动和主动搜索中获得的信息,并分析了与第三方依赖关系相关的供应链风险,提供了减少后门和不可修补漏洞风险的指标和建议。我们的研究结果表明,尽管安全审计人员和独立研究人员进行了严格的审查,但像以太坊这样的平台的复杂性和不断发展需要定期的专家审查和全面的SSDLC实践。

英文摘要:

The beacon chain is the backbone of the Ethereum's evolution towards a proof-of-stake-based scalable network. Beacon clients are the applications implementing the services required to operate the beacon chain, namely validators, beacon nodes, and slashers. Security defects in beacon clients could lead to loss of funds, consensus rules violation, network congestion, and other inconveniences. We reported more than 35 issues to the beacon client developers, including various security improvements, specification inconsistencies, missing security checks, exposure to known vulnerabilities. None of our findings appears to be high-severity. We covered the four main beacon clients, namely Lighthouse (Rust), Nimbus (Nim), Prysm (Go), and Teku (Java). We looked for bugs in the logic and implementation of the new security-critical components (BLS signatures, slashing, networking protocols, and API) over a 3-month project that followed a preliminary analysis of BLS signatures code. We focused on Lighthouse and Prysm, the most popular clients, and thus the highest-value targets. Furthermore, we identify protocol-level issues, including replay attacks and incomplete forward secrecy. In addition, we reviewed the network fingerprints of beacon clients, discussing the information obtainable from passive and active searches, and we analyzed the supply chain risk related to third-party dependencies, providing indicators and recommendations to reduce the risk of backdoors and unpatchable vulnerabilities. Our results suggest that despite intense scrutiny by security auditors and independent researchers, the complexity and constant evolution of a platform like Ethereum requires regular expert review and thorough SSDLC practices.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑