|
Mathematical Backgrounds of Computer Security
Detecting server-side endpoints in web applications based on static analysis of client-side JavaScript code
D. A. Sigalov, A. A. Khashaev, D. Yu. Gamayunov Lomonosov Moscow State University, Moscow, Russia
Abstract:
The problem of server-side endpoint detection in the context of blackbox security analysis of dynamic web applications is considered. We propose a method to increase coverage of server-side endpoint detection using static analysis of client-side JavaScript code to find functions which generate HTTP requests to the server-side of the application and reconstruct parameters for those functions. In the context of application security testing, static analysis allows to find such functions even in dead or unreachable JavaScript code, which cannot be achieved by dynamic crawling or dynamic code analysis. Evaluation of the proposed method and its implementation has been done using synthetic web application with endpoints vulnerable to SQL injections, and the same application was used to compare the proposed method with existing solutions. Evaluation results show that adding JavaScript static analysis to traditional dynamic crawling of web applications may significantly improve server-side endpoint coverage in blackbox application security analysis.
Keywords:
web applications, static analysis, JavaScript.
Citation:
D. A. Sigalov, A. A. Khashaev, D. Yu. Gamayunov, “Detecting server-side endpoints in web applications based on static analysis of client-side JavaScript code”, Prikl. Diskr. Mat., 2021, no. 53, 32–54
Linking options:
https://www.mathnet.ru/eng/pdm745 https://www.mathnet.ru/eng/pdm/y2021/i3/p32
|
|