arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2201.10833cs.CR
收藏

通过API规范处理自动检测访问控制漏洞

Automatic detection of access control vulnerabilities via API specification processing

Alexander Barabanov, Denis Dergunov, Denis Makrushin, Aleksey Teplov

摘要:

Objective.不安全的直接对象引用(IDOR)或中断对象级授权(BOLA)是现代应用程序访问控制漏洞的关键类型之一。因此,攻击者可以绕过授权检查,从而导致信息泄露和帐户接管。我们的主要研究目标是通过提供一种算法和工具来帮助应用程序安全架构师优化安全设计和测试过程,该算法和工具允许自动分析系统API规范并生成可能的漏洞和攻击向量列表,以备用于安全非功能需求。法我们对研究和会议论文、漏洞赏金计划报告和其他灰色文献来源进行了多角度的审查,以概述针对IDOR漏洞的攻击模式。这些攻击被分组收集,并进一步分析这些组之间的共同属性以及组成该组的特征。端点属性和攻击技术构成了一组攻击。执行组功能和现有OpenAPI规范之间的映射,以实现用于自动发现潜在易受攻击端点的工具。成果和实际意义。在本文中,我们提供了系统化的IDOR/BOLA攻击技术的基础上,文献回顾,实际案例分析,并得出IDOR/BOLA攻击组。提出了一种基于OpenAPI规范属性描述IDOR/BOLA攻击的方法。我们开发了一个基于OpenAPI规范处理的潜在IDOR/BOLA漏洞检测算法。实验结果表明,该算法具有较好的恢复能力,可以用于检测潜在的IDOR/BOLA漏洞。

英文摘要:

Objective. Insecure Direct Object Reference (IDOR) or Broken Object Level Authorization (BOLA) are one of the critical type of access control vulnerabilities for modern applications. As a result, an attacker can bypass authorization checks leading to information leakage, account takeover. Our main research goal was to help an application security architect to optimize security design and testing process by giving an algorithm and tool that allows to automatically analyze system API specifications and generate list of possible vulnerabilities and attack vector ready to be used as security non-functional requirements. Method. We conducted a multivocal review of research and conference papers, bug bounty program reports and other grey sources of literature to outline patterns of attacks against IDOR vulnerability. These attacks are collected in groups proceeding with further analysis common attributes between these groups and what features compose the group. Endpoint properties and attack techniques comprise a group of attacks. Mapping between group features and existing OpenAPI specifications is performed to implement a tool for automatic discovery of potentially vulnerable endpoints. Results and practical relevance. In this work, we provide systematization of IDOR/BOLA attack techniques based on literature review, real cases analysis and derive IDOR/BOLA attack groups. We proposed an approach to describe IDOR/BOLA attacks based on OpenAPI specifications properties. We develop an algorithm of potential IDOR/BOLA vulnerabilities detection based on OpenAPI specification processing. We implemented our novel algorithm using Python and evaluated it. The results show that algorithm is resilient and can be used in practice to detect potential IDOR/BOLA vulnerabilities.

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

↑