论文标题
一个坏苹果破坏了桶:了解物联网固件中第三方组件引入的安全风险
One Bad Apple Spoils the Barrel: Understanding the Security Risks Introduced by Third-Party Components in IoT Firmware
论文作者
论文摘要
目前,物联网固件的开发在很大程度上取决于第三方组件(TPC),以提高发展效率。但是,TPC并不安全,TPC中的漏洞会影响物联网固件的安全性。现有作品对TPC造成的脆弱性的关注较少,我们仍然对TPC脆弱性对固件的安全影响有全面的了解。为了填补知识差距,我们设计和实施公司,该公司利用句法功能和控制流图特征来检测固件中的TPC,然后识别相应的漏洞。基于Firmsec,我们对TPC在$ 34,136 $固件图像上提出的安全风险进行了首次大规模分析。我们成功检测到584个TPC,并识别429 CVE引起的128,757个漏洞。我们的深入分析揭示了固件中安全风险的多样性,发现一些知名的漏洞仍然植根于固件。此外,我们探讨了脆弱设备的地理分布,并确认不同区域的设备的安全状况有所不同。我们的分析还表明,固件中TPC引起的脆弱性会随着物联网生态系统的繁荣而不断增长。进一步的分析表明,有2,478张商业固件图像可能违反了GPL/AGPL许可条款。
Currently, the development of IoT firmware heavily depends on third-party components (TPCs) to improve development efficiency. Nevertheless, TPCs are not secure, and the vulnerabilities in TPCs will influence the security of IoT firmware. Existing works pay less attention to the vulnerabilities caused by TPCs, and we still lack a comprehensive understanding of the security impact of TPC vulnerability against firmware. To fill in the knowledge gap, we design and implement FirmSec, which leverages syntactical features and control-flow graph features to detect the TPCs in firmware, and then recognizes the corresponding vulnerabilities. Based on FirmSec, we present the first large-scale analysis of the security risks raised by TPCs on $34,136$ firmware images. We successfully detect 584 TPCs and identify 128,757 vulnerabilities caused by 429 CVEs. Our in-depth analysis reveals the diversity of security risks in firmware and discovers some well-known vulnerabilities are still rooted in firmware. Besides, we explore the geographical distribution of vulnerable devices and confirm that the security situation of devices in different regions varies. Our analysis also indicates that vulnerabilities caused by TPCs in firmware keep growing with the boom of the IoT ecosystem. Further analysis shows 2,478 commercial firmware images have potentially violated GPL/AGPL licensing terms.