arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2308.13141cs.CRcs.SE
收藏

真实环境中IoT安全弱点与漏洞的大规模研究

A Large-Scale Study of IoT Security Weaknesses and Vulnerabilities in the Wild

Madhu Selvaraj, Gias Uddin

AI总结:

本研究针对三个Stack Exchange站点的IoT C/C++代码示例开展大规模分析,识别出多类CWE弱点及可映射的CVE漏洞,揭示了漏洞分布与危害,为IoT安全防护与工具开发提供参考。

摘要:

物联网(IoT)被定义为通过智能计算设备在互联网/网络上连接场所与物理对象(即“物”)的技术。我们观察到,IoT软件开发者会在三个Stack Exchange问答网站——Stack Overflow(SO)、Arduino和Raspberry Pi——上以代码示例的形式分享编程问题的解决方案。此前的研究发现Stack Overflow上分享的C/C++代码示例中存在漏洞/弱点,但这些研究并未调查与IoT相关的C/C++代码示例,且仅研究了SO上的代码示例。\n本文中,我们对三个Stack Exchange站点(即SO、Arduino和Raspberry Pi)上分享的所有IoT C/C++代码示例开展了大规模实证研究。从这三个站点获取的11329个代码片段中,我们在609个片段里识别出29种不同的CWE(通用弱点枚举)类型。这些CWE类型可划分为8个通用弱点类别,我们观察到与求值、内存和初始化相关的弱点是用户发布编程解决方案时最常引入的。此外,我们发现39.58%的存在漏洞的代码片段包含的CWE类型实例,可映射到这些CWE类型的真实世界发生案例(即CVE实例)。\n存在漏洞的IoT代码示例数量最多的站点是Arduino,其次是SO,最后是Raspberry Pi。内存类漏洞在这些站点上呈上升趋势。例如,在3595个已映射的CVE实例中,我们发现28.99%会导致拒绝服务(DoS)错误,这对智能汽车等依赖网络的IoT设备危害尤其大。我们的研究结果可引导各类IoT利益相关者意识到这类存在漏洞的IoT代码示例,并为IoT研究人员开发可防止开发者在站点上分享此类漏洞代码示例的工具提供参考。

英文摘要:

Internet of Things (IoT) is defined as the connection between places and physical objects (i.e., things) over the internet/network via smart computing devices. We observed that IoT software developers share solutions to programming questions as code examples on three Stack Exchange Q&A sites: Stack Overflow (SO), Arduino, and Raspberry Pi. Previous research studies found vulnerabilities/weaknesses in C/C++ code examples shared in Stack Overflow. However, the studies did not investigate C/C++ code examples related to IoT. The studies investigated SO code examples only. In this paper, we conduct a large-scale empirical study of all IoT C/C++ code examples shared in the three Stack Exchange sites, i.e., SO, Arduino, and Raspberry Pi. From the 11,329 obtained code snippets from the three sites, we identify 29 distinct CWE (Common Weakness Enumeration) types in 609 snippets. These CWE types can be categorized into 8 general weakness categories, and we observe that evaluation, memory, and initialization related weaknesses are the most common to be introduced by users when posting programming solutions. Furthermore, we find that 39.58% of the vulnerable code snippets contain instances of CWE types that can be mapped to real-world occurrences of those CWE types (i.e. CVE instances). The most number vulnerable IoT code examples was found in Arduino, followed by SO, and Raspberry Pi. Memory type vulnerabilities are on the rise in the sites. For example, from the 3595 mapped CVE instances, we find that 28.99% result in Denial of Service (DoS) errors, which is particularly harmful for network reliant IoT devices such as smart cars. Our study results can guide various IoT stakeholders to be aware of such vulnerable IoT code examples and to inform IoT researchers during their development of tools that can help prevent developers the sharing of such vulnerable code examples in the sites. [Abridged].

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

↑