我们能信任规范吗?Node-RED中实现与规范的一致性分析及相关安全风险
In Specs we Trust? Conformance-Analysis of Implementation to Specifications in Node-RED and Associated Security Risks
AI总结:
针对Node-RED低代码框架依赖开源节点却缺乏安全检查的问题,本文通过CodeQL分析节点实现与规范的一致性,发现55%节点存在隐藏信息流,28%节点高风险,揭示其安全隐患。
摘要:
物联网平台的低代码开发框架提供了简单的拖放机制,无需大量编程知识即可为数十亿现有物联网设备创建应用程序。鉴于物联网设备在医疗保健或家庭自动化等许多高度敏感领域的紧密集成,此类软件的安全性至关重要。Node-RED就是这样一种框架,其应用程序由开源开发者贡献的节点构建而成。它依赖未经审查的开源贡献且缺乏安全检查,这引发了应用程序可能易受攻击的担忧,从而给最终用户带来安全风险。低代码方法意味着许多用户可能缺乏缓解、理解甚至意识到此类安全问题的技术知识。本文聚焦于Node-RED节点中的“隐藏”信息流,即未被规范捕获的信息流。这些信息流可能(在不知情或恶意的情况下)导致敏感信息泄露给未授权实体。我们报告了对Node-RED框架中所有节点的一致性分析结果:我们使用CodeQL检测每个节点的源和汇数量,并将其与指定的输入和输出数量进行比较。结果显示,55%的节点表现出比规范更多的可能信息流。对部分节点的风险评估表明,28%的节点具有高严重性评级,36%的节点具有中严重性评级。
英文摘要:
Low-code development frameworks for IoT platforms offer a simple drag-and-drop mechanism to create applications for the billions of existing IoT devices without the need for extensive programming knowledge. The security of such software is crucial given the close integration of IoT devices in many highly sensitive areas such as healthcare or home automation. Node-RED is such a framework, where applications are built from nodes that are contributed by open-source developers. Its reliance on unvetted open-source contributions and lack of security checks raises the concern that the applications could be vulnerable to attacks, thereby imposing a security risk to end users. The low-code approach suggests, that many users could lack the technical knowledge to mitigate, understand, or even realize such security concerns. This paper focuses on "hidden" information flows in Node-RED nodes, meaning flows that are not captured by the specifications. They could (unknowingly or with malicious intent) cause leaks of sensitive information to unauthorized entities. We report the results of a conformance analysis of all nodes in the Node-RED framework, for which we compared the numbers of specified inputs and outputs of each node against the number of sources and sinks detected with CodeQL. The results show, that 55% of all nodes exhibit more possible flows than are specified. A risk assessment of a subset of the nodes showed, that 28% of them are associated with a high severity and 36% with a medium severity rating.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。