Semantic web Racer: Dynamic security testing of the web application against race condition in the business layer

被引:2
作者
Alidoosti, Mitra [1 ]
Nowroozi, Alireza [2 ]
Nickabadi, Ahmad [3 ]
机构
[1] Iran Univ Sci & Technol, Tehran, Iran
[2] Univ Tehran, IRIB, Tehran, Iran
[3] Amirkabir Univ Tehran, Tehran, Iran
关键词
Dynamic testing; Vulnerability Analysis; Web application; Business process; Race Condition; Ajax Events;
D O I
10.1016/j.eswa.2022.116569
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The parallel execution of multiple threads of a web application will cause races if the web application is not synchronized correctly. Detecting the race condition in web applications depends on the application's business logic. No logic-aware approach has been presented so far for detecting various race conditions in web applications. The existing approaches only detect part of server-side races or a few client-side race conditions. Most existing approaches result in DoS or they have a high vulnerability detection time. In this study, various race conditions existing in a web application, both on the server-side and on the client side, are classified and described. In addition, we present Semantic Web Racer, a black-box approach for dynamic application security testing, to detect the business-layer vulnerability of the web application against race conditions both on the server-side and on the client-side. Semantic Web Racer detects race conditions by identifying the business logic of the web application. First, it identifies the business processes in the web application and, by defining a trace pattern for each type of race condition, identifies critical business processes. The detected critical processes are performed in the defined race window in both normal mode and race-prone mode, and the results are checked to identify vulnerabilities. The evaluation of well-known and widely used web applications and web pages shows that Semantic Web Racer can detect the business layer vulnerabilities of these applications against race conditions. Experiments showed that out of 38 detected race conditions by Semantic Web Racer in selected applications, 24 are new vulnerabilities that were not identified by related works. The amount of traffic generated to identify vulnerabilities has been improved by about 98.29% by identifying the business layer of the application. Thus, Semantic Web Racer does not result in DoS. Semantic Web Racer has improved race detection time by about 96.78%.
引用
收藏
页数:35
相关论文
共 28 条
[1]  
Adamsen C. Q, 2018, THESIS AARHUS U
[2]   Practical initialization race detection for JavaScript web applications [J].
Adamsen, Christoffer Quist ;
Méller, Anders ;
Tip, Frank .
Proceedings of the ACM on Programming Languages, 2017, 1 (OOPSLA)
[3]   Practical AJAX Race Detection for Java']JavaScript Web Applications [J].
Adamsen, Christoffer Quist ;
Moller, Anders ;
Alimadadi, Saba ;
Tip, Frank .
ESEC/FSE'18: PROCEEDINGS OF THE 2018 26TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, 2018, :38-48
[4]   Repairing Event Race Errors by Controlling Nondeterminism [J].
Adamsen, Christoffer Quist ;
Moller, Anders ;
Karim, Rezwana ;
Sridharan, Manu ;
Tip, Frank ;
Sen, Koushik .
2017 IEEE/ACM 39TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2017, :289-299
[5]  
Alidoosti M., 2018, ISCISC, P1, DOI [10.1109/ISCISC.2018.8546899, DOI 10.1109/ISCISC.2018.8546899]
[6]  
Alidoosti M., 2019, J. Comput. Secur., V6, P65, DOI DOI 10.22108/JCS.2020.117223.1028
[7]   Business-Layer Session Puzzling Racer: Dynamic Security Testing Against Session Puzzling Race Conditions in Business Layer [J].
Alidoosti, Mitra ;
Nowroozi, Alireza ;
Nickabadi, Ahmad .
ISECURE-ISC INTERNATIONAL JOURNAL OF INFORMATION SECURITY, 2022, 14 (01) :83-104
[8]   Evaluating the web-application resiliency to business-layer DoS attacks [J].
Alidoosti, Mitra ;
Nowroozi, Alireza ;
Nickabadi, Ahmad .
ETRI JOURNAL, 2020, 42 (03) :433-445
[9]  
Braun B, 2013, LECT NOTES COMPUT SC, V8208, P231, DOI 10.1007/978-3-642-41488-6_16
[10]   NodeRacer: Event Race Detection for Node.js']js Applications [J].
Endo, Andre Takeshi ;
Moller, Anders .
2020 IEEE 13TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VALIDATION AND VERIFICATION (ICST 2020), 2020, :120-130