An Empirical Study of Information Flows in Real-World Java']JavaScript

被引:18
|
作者
Staicu, Cristian-Alexandru [1 ]
Schoepe, Daniel [2 ]
Balliu, Musard [3 ]
Pradel, Michael [1 ]
Sabelfeld, Andrei [2 ]
机构
[1] Tech Univ Darmstadt, Darmstadt, Germany
[2] Chalmers Univ Technol, Gothenburg, Sweden
[3] KTH Royal Inst Technol, Stockholm, Sweden
基金
瑞典研究理事会;
关键词
information flow control; taint tracking; !text type='Java']Java[!/text]Script; implicit flow;
D O I
10.1145/3338504.3357339
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Information flow analysis prevents secret or untrusted data from flowing into public or trusted sinks. Existing mechanisms cover a wide array of options, ranging from lightweight taint analysis to heavyweight information flow control that also considers implicit flows. Dynamic analysis, which is particularly popular for languages such as JavaScript, faces the question whether to invest in analyzing flows caused by not executing a particular branch, so-called hidden implicit flows. This paper addresses the questions how common different kinds of flows are in real-world programs, how important these flows are to enforce security policies, and how costly it is to consider these flows. We address these questions in an empirical study that analyzes 56 real-world JavaScript programs that suffer from various security problems, such as code injection vulnerabilities, denial of service vulnerabilities, memory leaks, and privacy leaks. The study is based on a state-of-the-art dynamic information flow analysis and a formalization of its core. We find that implicit flows are expensive to track in terms of permissiveness, label creep, and runtime overhead. We find a lightweight taint analysis to be sufficient for most of the studied security problems, while for some privacy-related code, observable tracking is sometimes required. In contrast, we do not find any evidence that tracking hidden implicit flows reveals otherwise missed security problems. Our results help security analysts and analysis designers to understand the cost-benefit tradeoffs of information flow analysis and provide empirical evidence that analyzing information flows in a cost-effective way is a relevant problem.
引用
收藏
页码:45 / 59
页数:15
相关论文
共 50 条
  • [21] Managing information of real-world objects through a cellular phone Java']Java client (i-mode Java']Java application)
    Ikei, Y
    Tanaka, H
    Hirose, M
    HUMAN-COMPUTER INTERACTION - INTERACT'01, 2001, : 725 - 726
  • [22] Java']JavaScript Zero: Real Java']JavaScript and Zero Side-Channel Attacks
    Schwarz, Michael
    Lipp, Moritz
    Gruss, Daniel
    25TH ANNUAL NETWORK AND DISTRIBUTED SYSTEM SECURITY SYMPOSIUM (NDSS 2018), 2018,
  • [23] Staged Information Flow for Java']JavaScript
    Chugh, Ravi
    Meister, Jeffrey A.
    Jhala, Ranjit
    Lerner, Sorin
    ACM SIGPLAN NOTICES, 2009, 44 (06) : 50 - 62
  • [24] An Empirical Study of the Framework Impact on the Security of Java']JavaScript Web Applications
    Peguero, Ksenia
    Zhang, Nan
    Cheng, Xiuzhen
    COMPANION PROCEEDINGS OF THE WORLD WIDE WEB CONFERENCE 2018 (WWW 2018), 2018, : 753 - 758
  • [25] Staged Information Flow for Java']JavaScript
    Chugh, Ravi
    Meister, Jeffrey A.
    Jhala, Ranjit
    Lerner, Sorin
    PLDI'09 PROCEEDINGS OF THE 2009 ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION, 2009, : 50 - 62
  • [26] On the Untriviality of Trivial Packages: An Empirical Study of npm Java']JavaScript Packages
    Chowdhury, Md Atique Reza
    Abdalkareem, Rabe
    Shihab, Emad
    Adams, Bram
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2022, 48 (08) : 2695 - 2708
  • [27] JaConTeBe: A Benchmark Suite of Real-World Java']Java Concurrency Bugs
    Lin, Ziyi
    Marinov, Darko
    Zhong, Hao
    Chen, Yuting
    Zhao, Jianjun
    2015 30TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2015, : 178 - 189
  • [28] Real-world case study in information technology for undergraduate students
    Sikkel, Klaas
    Spil, Ton A.M.
    Van De Weg, Rob L.W.
    Journal of Systems and Software, 1999, 49 (02): : 117 - 123
  • [29] A real-world case study in information technology for undergraduate students
    Sikkel, K
    Spil, TAM
    van de Weg, RLW
    JOURNAL OF SYSTEMS AND SOFTWARE, 1999, 49 (2-3) : 117 - 123
  • [30] An Empirical Study on the "Usage of Not" in Real-World JSON']JSON Schema Documents
    Baazizi, Mohamed-Amine
    Colazzo, Dario
    Ghelli, Giorgio
    Sartiani, Carlo
    Scherzinger, Stefanie
    CONCEPTUAL MODELING, ER 2021, 2021, 13011 : 102 - 112