本文系统综述了近十年通过 Web API 对服务器端 Web 应用进行模糊测试的框架,重点分析有效 HTTP 请求生成、反馈利用和输入空间扩展策略,并指出 Web 插桩和微服务处理等关键挑战及未来研究方向。
摘要:
全球约有 53 亿互联网用户,占全球人口的 65.7%,而 Web 技术是通过互联网交付服务的骨干。为了确保 Web 应用不存在与安全相关的缺陷,Web 开发人员在将服务器端 Web 应用部署到生产环境之前会对其进行测试。这些测试通常通过应用暴露的接口(即 Web API)进行,因为这些接口是应用的入口点。模糊测试是最有前景的适用于此任务的自动化软件测试技术之一;然而,与已被广泛研究的二进制模糊测试相比,针对(服务器端)Web 应用模糊测试的研究相当有限。本研究回顾了通过 Web API 测试 Web 应用的最新模糊测试框架,识别了开放性挑战,并给出了潜在的未来研究方向。我们从过去十年的七个同行评审文章在线存储库中收集论文。与其他类似研究相比,本综述更深入地揭示了先前工作在生成有效 HTTP 请求、利用来自被测 Web 应用(WUTs)的反馈以及扩展输入空间方面的策略。本综述的研究结果表明,若干关键挑战需要解决,例如 Web 插桩的有效性不足以及处理微服务应用的复杂性。此外,还提供了一些潜在的研究方向,例如面向 Web 客户端编程的模糊测试。最终,本文旨在为开发更好的 Web 模糊测试框架提供一个良好的起点。
英文摘要:
There are around 5.3 billion Internet users, amounting to 65.7% of the global population, and web technology is the backbone of the services delivered via the Internet. To ensure web applications are free from security-related bugs, web developers test the server-side web applications before deploying them to production. The tests are commonly conducted through the interfaces (i.e., Web API) that the applications expose since they are the entry points to the application. Fuzzing is one of the most promising automated software testing techniques suitable for this task; however, the research on (server-side) web application fuzzing has been rather limited compared to binary fuzzing which is researched extensively. This study reviews the state-of-the-art fuzzing frameworks for testing web applications through web API, identifies open challenges, and gives potential future research. We collect papers from seven online repositories of peer-reviewed articles over the last ten years. Compared to other similar studies, our review focuses more deeply on revealing prior work strategies in generating valid HTTP requests, utilising feedback from the Web Under Tests (WUTs), and expanding input spaces. The findings of this survey indicate that several crucial challenges need to be solved, such as the ineffectiveness of web instrumentation and the complexity of handling microservice applications. Furthermore, some potential research directions are also provided, such as fuzzing for web client programming. Ultimately, this paper aims to give a good starting point for developing a better web fuzzing framework.
TraceLib: System-Call Bitmap Feedback Mechanism for Language-Agnostic Web Fuzzing
Bernoulli Institute, University of Groningen(格罗宁根大学伯努利学院);Faculty of Engineering, Udayana University(乌达亚纳大学工程学院);Department of Computer Science, University of Cyprus(塞浦路斯大学计算机科学系)
Scalability of Data Binding in ASP.NET Web Applications
ASP.NET Web应用程序通常使用服务器控件来提供动态网页,并使用数据绑定服务器控件来显示和维护数据库数据。大多数开发人员在开发Web应用程序时使用ASP.NET服务器控件的默认属性,这允许快速开发可行的应用程序。但是,创建高性能、多用户和可伸缩的Web应用程序需要使用自定义代码增强服务器控件。在这项实证研究中,我们评估了各种技术方法对数据驱动的ASP.NET Web应用程序中分页和排序功能的影响:Web服务器上的Web服务器控件中的自动数据分页和排序;数据库服务器上的分页和排序;索引和非索引数据库列;集群与非集群索引。当使用基于SQL存储过程和聚集索引的自定义分页时,我们观察到显著的性能改进。