An Empirical Study of the Framework Impact on the Security of Java']JavaScript Web Applications

被引:11
作者
Peguero, Ksenia [1 ]
Zhang, Nan [2 ]
Cheng, Xiuzhen [1 ]
机构
[1] George Washington Univ, Washington, DC 20052 USA
[2] Penn State Univ, University Pk, PA 16802 USA
来源
COMPANION PROCEEDINGS OF THE WORLD WIDE WEB CONFERENCE 2018 (WWW 2018) | 2018年
关键词
!text type='Java']Java[!/text]Script security; web security; web frameworks; framework analysis; template engines; cross-site scripting;
D O I
10.1145/3184558.3188736
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Background: JavaScript frameworks are widely used to create client-side and server-side parts of contemporary web applications. Vulnerabilities like cross-site scripting introduce significant risks in web applications. Aim: The goal of our study is to understand how the security features of a framework impact the security of the applications written using that framework. Method: In this paper, we present four locations in an application, relative to the framework being used, where a mitigation can be applied. We perform an empirical study of JavaScript applications that use the three most common template engines: Jade/Pug, EJS, and Angular. Using automated and manual analysis of each group of applications, we identify the number of projects vulnerable to cross-site scripting, and the number of vulnerabilities in each project, based on the framework used. Results: We analyze the results to compare the number of vulnerable projects to the mitigation locations used in each framework and perform statistical analysis of confounding variables. Conclusions: The location of the mitigation impacts the application's security posture, with mitigations placed within the framework resulting in more secure applications.
引用
收藏
页码:753 / 758
页数:6
相关论文
共 21 条
  • [1] AngularJS, 2017, DOCUMENTATION SCE 20
  • [2] [Anonymous], 2011, UCBEECS201111
  • [3] Artzi S, 2011, 2011 33RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), P571, DOI 10.1145/1985793.1985871
  • [4] Gizas A., 2012, P 21 INT C COMPANION, P513, DOI 10.1145/2187980.2188103
  • [5] Graziotin D, 2013, LECT NOTES COMPUT SC, V7983, P334, DOI 10.1007/978-3-642-39259-7_28
  • [6] Heinrich C., 2017, COMP 2003 2004 2007
  • [7] Jensen C., 2013, PROC 9 JOINT M FDN S, P510
  • [8] JS']JSAI: A Static Analysis Platform for Java']JavaScript
    Kashyap, Vineeth
    Dewey, Kyle
    Kuefner, Ethan A.
    Wagner, John
    Gibbons, Kevin
    Sarracino, John
    Wiedermann, Ben
    Hardekopf, Ben
    [J]. 22ND ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (FSE 2014), 2014, : 121 - 132
  • [9] ksdmitrieva, 2017, AN PIP
  • [10] SymJS']JS: Automatic Symbolic Testing of Java']JavaScript Web Applications
    Li, Guodong
    Andreasen, Esben
    Ghosh, Indradeep
    [J]. 22ND ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (FSE 2014), 2014, : 449 - 459