RUS  ENG
Full version
JOURNALS // Prikladnaya Diskretnaya Matematika // Archive

Prikl. Diskr. Mat., 2021 Number 53, Pages 32–54 (Mi pdm745)

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.

UDC: 004.056.53

DOI: 10.17223/20710410/53/3



Bibliographic databases:


© Steklov Math. Inst. of RAS, 2026