Hardening Java']Java's Access Control by Abolishing Implicit Privilege Elevation

被引:8
|
作者
Holzinger, Philipp [1 ]
Hermann, Ben [2 ]
Lerch, Johannes [2 ]
Bodden, Eric [3 ,4 ]
Mezini, Mira [2 ]
机构
[1] Fraunhofer SIT, Darmstadt, Germany
[2] Tech Univ Darmstadt, Darmstadt, Germany
[3] Fraunhofer IEM, Paderborn, Germany
[4] Paderborn Univ, Paderborn, Germany
关键词
STACK INSPECTION;
D O I
10.1109/SP.2017.16
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
While the Java runtime is installed on billions of devices and servers worldwide, it remains a primary attack vector for online criminals. As recent studies show, the majority of all exploited Java vulnerabilities comprise incorrect or insufficient implementations of access-control checks. This paper for the first time studies the problem in depth. As we find, attacks are enabled by shortcuts that short-circuit Java's general principle of stack-based access control. These shortcuts, originally introduced for ease of use and to improve performance, cause Java to elevate the privileges of code implicitly. As we show, this creates many pitfalls for software maintenance, making it all too easy for maintainers of the runtime to introduce blatant confused-deputy vulnerabilities even by just applying normally semantics-preserving refactorings. How can this problem be solved? Can one implement Java's access control without shortcuts, and if so, does this implementation remain usable and efficient? To answer those questions, we conducted a tool-assisted adaptation of the Java Class Library (JCL), avoiding (most) shortcuts and therefore moving to a fully explicit model of privilege elevation. As we show, the proposed changes significantly harden the JCL against attacks: they effectively hinder the introduction of new confused-deputy vulnerabilities in future library versions, and successfully restrict the capabilities of attackers when exploiting certain existing vulnerabilities. We discuss usability considerations, and through a set of large-scale experiments show that with current JVM technology such a faithful implementation of stack-based access control induces no observable performance loss.
引用
收藏
页码:1027 / 1040
页数:14
相关论文
共 45 条
  • [41] Multi-service Card for Students using Java']JavaCard Global Platform and IAS specifications The access control use case
    Pasquet, Marc
    Faye, Ndiaga
    Gerbaix, Sylvie
    PROCEEDINGS OF THE 2013 INTERNATIONAL CONFERENCE ON COLLABORATION TECHNOLOGIES AND SYSTEMS (CTS), 2013, : 185 - 190
  • [42] Evaluation of acibenzolar-S-methyl for the control of Meloidogyne java']javanica and effects on the development of susceptible and resistant soybean
    Puerari, Heriksen H.
    Dias-Arieira, Claudia R.
    Dadazio, Tais S.
    Mattei, Danielle
    da Silva, Tiago R. B.
    Ribeiro, Regina C. F.
    TROPICAL PLANT PATHOLOGY, 2013, 38 (01): : 44 - 48
  • [43] Safe Drinking Water, Sanitation and Mother's Hygiene Practice as Stunting Risk Factors: A Case Control Study in a Rural Area of Ciawi Sub-district, Tasikmalaya District, West Java']Java, Indonesia
    Novianti, Siti
    Huriyati, Emy
    Padmawati, Retna Siwi
    ETHIOPIAN JOURNAL OF HEALTH SCIENCES, 2023, 33 (06) : 935 - 944
  • [44] S-ZAC: Hardening Access Control of Service Mesh Using Intel SGX for Zero Trust in Cloud
    Han, Changhee
    Kim, Taehun
    Lee, Woomin
    Shin, Youngjoo
    ELECTRONICS, 2024, 13 (16)
  • [45] Response to carbon-starvation in Pseudomonas aeruginosa strain IE-6S+:: analysis of general cross protection, production of some nematocidal compounds in vitro, and the biological control of Meloidogyne java']javanica in tomato
    Siddiqui, IA
    Shaukat, SS
    WORLD JOURNAL OF MICROBIOLOGY & BIOTECHNOLOGY, 2003, 19 (09): : 917 - 924