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

通过访问策略违规检查和注入攻击增强REST API模糊测试

Enhancing REST API Fuzzing with Access Policy Violation Checks and Injection Attacks

Erciyes University(埃尔齐耶斯大学);Kristiania University College(克里斯蒂亚尼亚大学学院);Beihang University(北京航空航天大学);Oslo Metropolitan University(奥斯陆都市大学)

Omur Sahin, Man Zhang, Andrea Arcuri

AI总结:

本文提出新型自动化或acles检测REST API访问策略违规及传统攻击,集成EvoMaster fuzzers,通过模糊测试发现安全问题。

摘要:

由于在工业中的广泛应用,文献中已提出多种REST API模糊测试技术。现有REST API模糊器主要关注检测崩溃(如500 HTTP服务器错误状态码)。然而,安全漏洞可能对现有云基础设施造成重大影响。本文提出一系列新型自动化或acles,旨在检测REST API访问策略违规以及执行传统攻击如SQL注入和XSS。这些新型自动化或acles可以集成到现有模糊器中,在模糊测试会话完成后执行“安全测试”阶段以验证这些或acles。当检测到安全故障时,我们的技术能够生成不同格式的可执行测试用例,如Java、Kotlin、Python和JavaScript测试套件。我们的新型技术作为EvoMaster状态-of-the-art开源REST API模糊器的扩展进行集成。在9个人工示例、8个设计有缺陷的REST API(黑盒测试)和36个来自WFD数据集的REST API(白盒测试)上进行了实验,共计52个不同的API。结果表明,我们的新型或acles及其在模糊过程中的自动化集成能够检测到这些API中的安全问题。

英文摘要:

Due to their widespread use in industry, several techniques have been proposed in the literature to fuzz REST APIs. Existing fuzzers for REST APIs have been focusing on detecting crashes (e.g., 500 HTTP server error status code). However, security vulnerabilities can have major drastic consequences on existing cloud infrastructures. In this paper, we propose a series of novel automated oracles aimed at detecting violations of access policies in REST APIs, as well as executing traditional attacks such as SQL Injection and XSS. These novel automated oracles can be integrated into existing fuzzers, in which, once the fuzzing session is completed, a ``security testing'' phase is executed to verify these oracles. When a security fault is detected, as output our technique is able to general executable test cases in different formats, like Java, Kotlin, Python and JavaScript test suites. Our novel techniques are integrated as an extension of EvoMaster, a state-of-the-art open-source fuzzer for REST APIs. Experiments are carried out on 9 artificial examples, 8 vulnerable-by-design REST APIs with black-box testing, and 36 REST APIs from the WFD corpus with white-box testing, for a total of 52 distinct APIs. Results show that our novel oracles and their automated integration in a fuzzing process can lead to detect security issues in several of these APIs.

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

↑