论文标题
评估界面漏洞在分隔软件中的影响
Assessing the Impact of Interface Vulnerabilities in Compartmentalized Software
论文作者
论文摘要
最小特权的分离将应用程序分解为仅限于访问所需物品的隔间。当划分现有软件时,许多方法忽略了确保新车间间接口的确保,尽管过去从/到受信任的组件的函数调用现在可能是来自恶意隔间的目标攻击。这导致了整个安全错误:隔室接口漏洞(CIVS)。 本文提供了对CIVS的深入研究。我们分类这些问题,并表明它们会影响所有已知的隔间化方法。我们提出了Conffuzz,这是一种内存的绒毛,专门用于在可能的隔室边界上检测CIV。我们将Conffuzz应用于一组25个流行应用程序和36个可能的隔间API,以发现629个漏洞的广泛数据集。我们系统地研究了这些问题,并就CIV的流行,其原因,影响和解决方案的复杂性提出了许多见解。我们强调了CIV在隔室化方法中的至关重要性,表明在openssl中提取孤立的钥匙的攻击并揭示了Sudo中有十年历史的脆弱性。我们表明,并非所有接口都以相同的方式受到影响,API大小与CIV流行不相关,并且解决接口漏洞的问题不仅仅是编写简单的检查。我们以CIVARAINAWARE隔室界面设计指南结束了本文,并呼吁更多研究系统的CIV检测和缓解。
Least-privilege separation decomposes applications into compartments limited to accessing only what they need. When compartmentalizing existing software, many approaches neglect securing the new inter-compartment interfaces, although what used to be a function call from/to a trusted component is now potentially a targeted attack from a malicious compartment. This results in an entire class of security bugs: Compartment Interface Vulnerabilities (CIVs). This paper provides an in-depth study of CIVs. We taxonomize these issues and show that they affect all known compartmentalization approaches. We propose ConfFuzz, an in-memory fuzzer specialized to detect CIVs at possible compartment boundaries. We apply ConfFuzz to a set of 25 popular applications and 36 possible compartment APIs, to uncover a wide data-set of 629 vulnerabilities. We systematically study these issues, and extract numerous insights on the prevalence of CIVs, their causes, impact, and the complexity to address them. We stress the critical importance of CIVs in compartmentalization approaches, demonstrating an attack to extract isolated keys in OpenSSL and uncovering a decade-old vulnerability in sudo. We show, among others, that not all interfaces are affected in the same way, that API size is uncorrelated with CIV prevalence, and that addressing interface vulnerabilities goes beyond writing simple checks. We conclude the paper with guidelines for CIV-aware compartment interface design, and appeal for more research towards systematic CIV detection and mitigation.