Automated broken object-level authorization attack detection in REST APIs through OpenAPI to colored petri nets transformation


연구 분야: Safety



학회: International Journal of Information Security


초록

The representational state transfer architectural style (REST) specifies a set of rules for creating web services. In REST, data and functionality are considered resources, accessed, and manipulated using a uniform, well-defined set of rules. RESTful web services are web services that follow the REST architectural style and are exposed to the Internet using RESTful APIs. Most of them are described by OpenAPI, a standard language-independent interface for RESTful APIs. RESTful APIs are continuously available on the Internet and are therefore a common target for cyberattacks. To prevent vulnerabilities and reduce risks in web systems, there are several security guidelines available, such as those provided by the Open Web Application Security Project (OWASP) foundation. A common vulnerability in web services is broken object level authorization (BOLA), which allows an attacker to modify or delete data or perform actions intended only for authorized users. For example, an attacker can change an order status, delete a user account, or add unauthorized data to the server. In this paper, we propose a transformation from OpenAPI to Petri nets, which enables formal modeling and analysis of REST APIs using existing Petri net analysis techniques to detect potential security risks directly from the analysis of web server logs. In addition, we also provide a tool, named Links2CPN, which automatically performs model transformation (taking the OpenAPI specification as input) and BOLA attack detection by analyzing web server execution traces. We apply it to a case study of a vulnerable web application to demonstrate its applicability. Our results show that it is capable of detecting BOLA attacks with an accuracy greater than 95% in the proposed scenarios.


Author Profile
Ailton Santos Filho

Institute of Computing Federal University of Amazonas (UFAM) Av. General Rodrigo Octavio Jordão Ramos 1200 Coroado I Manaus AM 69067-005 Brazil

Armenia
Author Profile
Ricardo J. Rodríguez

Instituto de Investigación en Ingeniería de Aragón (I3A) Universidad de Zaragoza Edificio I+D+i Calle Mariano Esquillor s/n 50018 Zaragoza Spain

Germany
Author Profile
Eduardo L. Feitosa

Institute of Computing Federal University of Amazonas (UFAM) Av. General Rodrigo Octavio Jordão Ramos 1200 Coroado I Manaus AM 69067-005 Brazil

Armenia

📄 논문 정보

발행 연도 2025년
인용수 0
출판 국가 Germany, Armenia
사이트 Springer
좋아요 수 0

연관 논문 목록 (208건)