A Large-Scale Study of IoT Security Weaknesses and Vulnerabilities in the Wild
Madhu Selvaraj, Gias Uddin

TL;DR
This large-scale empirical study analyzes IoT-related C/C++ code snippets shared on Stack Exchange sites, revealing prevalent vulnerabilities, their real-world implications, and guiding stakeholders to improve IoT security practices.
Contribution
It is the first comprehensive analysis of IoT-specific code examples across multiple Stack Exchange platforms, identifying common weaknesses and their potential real-world impacts.
Findings
29 CWE types identified in 609 snippets
Memory vulnerabilities are increasing and often lead to DoS attacks
39.58% of vulnerable snippets relate to real-world CVEs
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Malware Detection Techniques · Privacy, Security, and Data Protection · Web Application Security Vulnerabilities
