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

WebAssembly应用中现代网络安全漏洞的分析

An Analysis of Modern Web Security Vulnerabilities Inside WebAssembly Applications

University of Cagliari(卡利亚里大学);National Interuniversity Consortium for Informatics(意大利国家跨大学信息技术联合会)

Lorenzo Corrias, Lorenzo Pisu, Davide Maiorca, Giorgio Giacinto

AI总结:

本文分析了WebAssembly应用中的现代网络安全漏洞,揭示了二进制漏洞可能带来的安全风险,并提出了最佳实践和防御策略以缓解相关威胁。

摘要:

WebAssembly(WASM)标准的普及带来了迅速增长的二进制应用程序,这些应用程序原生地移植到了网站环境中。WASM的灵活性使其成为运行快速且资源密集型应用程序的首选方式,取代了JavaScript previously monopolized的领域。尽管取得了成功,研究人员对WASM的安全实现提出了担忧,证明了缓冲区溢出和使用后释放等二进制漏洞仍然是WASM二进制文件的现有危险。我们的工作旨在证明,当这些漏洞出现在WebAssembly模块中时,可以影响网络应用的行为,以意想不到的方式使攻击者能够利用典型网络安全环境中的漏洞。我们提供了几种场景,以举例说明每个二进制漏洞可能导致网络安全漏洞的方式,如SQL注入、XS-Leaks和SSTI。我们的结果表明,二进制漏洞可以破坏网络开发人员在应用程序中实施的常见安全机制,展示了WASM模块的安全性仍然是需要解决的问题。我们还提供了一组最佳实践和防御策略,开发人员可以实施以减轻在他们的网络应用中运行不安全WASM模块的风险。

英文摘要:

The growth in the adoption of the WebAssembly (WASM) standard has given rise to a rapidly increasing landscape of binary applications that are natively ported to the environment of websites. The flexibility of WASM has made it the preferred way to run fast and resource-heavy applications, replacing a field that JavaScript previously monopolized. Despite its success, researchers have raised concerns over the security implementations of WASM, demonstrating that binary vulnerabilities, such as Buffer Overflows and Use After Free, remain a present danger for WASM binaries. Our work aims to demonstrate that such vulnerabilities, when occurring on a WebAssembly module, can affect the behavior of a web application in unexpected ways, enabling an attacker to exploit vulnerabilities that are typical of the web security landscape. We provide several scenarios to provide examples of how each binary vulnerability might lead to a web security vulnerability, such as SQL Injections, XS-Leaks, and SSTI. Our results show that binary vulnerabilities can invalidate common security mechanisms that web developer implement in their applications, demonstrating how the security of WASM modules remains a problem that needs to be addressed. We also provide a list of best practices and defensive strategies that developers can implement to mitigate the risks associated with running unsafe WASM modules in their web applications.

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

↑