Enforcing Secure Object Initialization in Java']Java

被引:0
|
作者
Hubert, Laurent [1 ]
Jensen, Thomas [2 ]
Monfort, Vincent [2 ]
Pichardie, David [2 ]
机构
[1] CNRS, IRISA, F-75700 Paris, France
[2] INRIA, IRISA, Paris, France
来源
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Sun and the CERT recommend for secure Java development to not allow partially initialized objects to be accessed. The CERT considers the severity of the risks taken by not following this recommendation as high. The solution currently used to enforce object initialization is to implement a coding pattern proposed by Sun, which is not formally checked. We propose a modular type system to formally specify the initialization policy of libraries or programs and a type checker to statically check at load time that all loaded classes respect the policy. This allows to prove the absence of bugs which have allowed some famous privilege escalations in Java. Our experimental results show that our safe default policy allows to prove 91% of classes of java. lang, java. security and javax. security safe without any annotation and by adding 57 simple annotations we proved all classes but four safe. The type system. and its soundness theorem have been formalized and machine checked using Coq.
引用
收藏
页码:101 / +
页数:2
相关论文
共 50 条
  • [1] On object initialization in the Java']Java bytecode
    Doyon, S
    Debbabi, M
    COMPUTER COMMUNICATIONS, 2000, 23 (17) : 1594 - 1605
  • [2] Secure object sharing in Java']Java Card
    Montgomery, M
    Krishna, K
    PROCEEDINGS OF THE USENIX WORKSHOP ON SMARTCARD TECHNOLOGY (SMARTCARD '99), 1999, : 119 - 127
  • [3] A type system for object initialization in the Java']Java bytecode language
    Freund, SN
    Mitchell, JC
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1999, 21 (06): : 1196 - 1250
  • [4] A type system for object initialization in the Java']Java™ bytecode language
    Freund, SN
    Mitchell, JC
    ACM SIGPLAN NOTICES, 1998, 33 (10) : 310 - 328
  • [5] A secure object sharing scheme for Java']Java Card
    Zhang, JQ
    Varadharajan, V
    Mu, Y
    INFORMATION AND COMMUNICATIONS SECURITY, PROCEEDINGS, 2002, 2513 : 243 - 251
  • [6] Secure object flow analysis for Java']Java Card
    Éluard, M
    Jensen, T
    USENIX ASSOCIATION AND IFIP WG 8.8 (SMART CARDS) PROCEEDINGS OF CARDIS '02 FIFTH SMART CARD RESEARCH AND ADVANCED APPLICATION CONFERENCE, 2002, : 97 - 110
  • [7] Object oriented verification kernels tor secure Java']Java applications
    Grandy, H
    Stenzel, K
    Reif, W
    SEFM 2005: Third IEEE International Conference on Software Engineering and Formal Methods, Proceedings, 2005, : 170 - 179
  • [8] Enforcing Determinism of Java']Java Smart Contracts
    Spoto, Fausto
    FINANCIAL CRYPTOGRAPHY AND DATA SECURITY, FC 2020, 2020, 12063 : 568 - 583
  • [9] A Type System for Object Initialization in the Java [trademark] Bytecode Language
    Freund, Stephen N.
    Mitchell, John C.
    SIGPLAN Notices (ACM Special Interest Group on Programming Languages), 1998, 33 (10): : 310 - 327
  • [10] Object models and Java']Java
    Chauvet, JM
    Lerman, M
    DR DOBBS JOURNAL, 1997, 22 (12): : 20 - &