Understanding and detecting server-side request races in web applications
Understanding and detecting server-side request races in web applications
复制标题
DOI:
10.1145/3468264.3468594
复制
发表时间:
2021-08
期刊:
影响因子:
--
通讯作者:
Zhengyi Qiu;Shudi Shao;Qi Zhao;Guoliang Jin
中科院分区:
文献类型:
--
作者:
Zhengyi Qiu;Shudi Shao;Qi Zhao;Guoliang Jin
Modern web sites often run web applications on the server to handle HTTP requests from users and generate dynamic responses. Due to their concurrent nature, web applications are vulnerable to server-side request races. The problem becomes more severe with the ever-increasing popularity of web applications. We first conduct a comprehensive characteristic study of 157 real-world server-side request races collected from different, popular types of web applications. The findings of this study can provide guidance for future development support in combating server-side request races. Guided by our study results, we develop a dynamic framework, ReqRacer, for detecting and exposing server-side request races in web applications. We propose novel approaches to model happens-before relationships between HTTP requests, which are essential to web applications. Our evaluation shows that ReqRacer can effectively and efficiently detect known and unknown request races.