静态检测Java与C/C++编写的跨语言Android应用中的缓冲区溢出
Statically Detecting Buffer Overflow in Cross-language Android Applications Written in Java and C/C++
AI总结:
针对跨语言应用缓冲区溢出检测难题,提出Java与C/C++间数据流分析方法并开发PilaiPidi工具,在6个知名Android应用中检出23个跨语言漏洞,获开发者确认11个。
摘要:
许多应用程序采用多种语言编写,以利用不同语言提供的特性,如原生代码支持、性能提升和特定语言的库。然而,目前很少有静态分析工具可用于分析此类多语言应用程序的源代码。现有的跨语言(Java和C/C++)分析工作无法检测具有跨语言性质的缓冲区溢出漏洞。在这项工作中,我们致力于解决如何在Java和C/C++之间进行跨语言分析。具体而言,我们提出了一种在Java和C/C++之间进行数据流分析的方法,以检测缓冲区溢出。我们开发了PilaiPidi,这是一个能够自动分析用Java和C/C++编写项目中的数据流的工具。使用我们的方法,我们在六个不同的知名Android应用中检测到了23个具有跨语言性质的缓冲区溢出漏洞,其中开发人员已在三个应用中确认了11个漏洞。
英文摘要:
Many applications are being written in more than one language to take advantage of the features that different languages provide such as native code support, improved performance, and language-specific libraries. However, there are few static analysis tools currently available to analyse the source code of such multilingual applications. Existing work on cross-language (Java and C/C++) analysis fails to detect buffer overflow vulnerabilities that are of cross-language nature. In this work, we are addressing how to do cross-language analysis between Java and C/C++. Specifically, we propose an approach to do data flow analysis between Java and C/C++ to detect buffer overflow. We have developed PilaiPidi, a tool that can automatically analyse the data flow in projects written in Java and C/C++. Using our approach, we were able to detect 23 buffer overflow vulnerabilities, which are of cross-language nature, in six different well-known Android applications, and out of these, developers have confirmed 11 vulnerabilities in three applications.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。