Article View: csd.cmsc818z
Article #25bug in JVM !
From: Arunesh Mishra
Date: Fri, 03 Nov 2000 03:03
Date: Fri, 03 Nov 2000 03:03
36 lines
2618 bytes
2618 bytes
Hi everyone !
I think there are two angles to security in Java :
One wherein the code in Java itself is designed to be
malicious.
Second wherein the Java source code might not be malicious
but the bytecode generated might be (someone might alter etc).
The restrictions on applets not allowed to open
arbitrary connections etc, try to enforce the first kind of
security while the verifier talked of in the previous class
tries to enforce the second kind of security. The latter
restricts access to fields which are private or
protected, which has rules for membership of a class under
inheritance etc. There was a bug reported in the way JVM
determines whether two classes are equivalent. It could be
used to cause type confusion between two classes with the
consequences such as providing access to private variables
(storing my private key ?) !
A paper which formally discusses this and the bug :
"Security and Dynamic Class Loading in Java: A Formalisation"
can be found at : http:/citeseer.nj.nec.com/jensen98security.html
It also talks of verification of classes in this context.
I hope they must have eliminated the bug!
have a look and enjoy !,
arunesh.
------------------------------------------------------------------
Arunesh Mishra First Year PhD Student
Room 4140, A.V. Williams, arunesh@cs.umd.edu
College Park, Md 20742. www.cs.umd.edu/~arunesh
University of Maryland Dept. of Computer Science
------------------------------------------------------------------
Be what you want to be !
Technical Details
Message-ID:
<Pine.SOL.4.21.0011022139570.21447-100000@cheezit.cs.umd.edu>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!209.249.123.233.MISMATCH!xfer10.netnews.com!netnews.com!newspeer.cwnet.com!sjc1.nntp.concentric.net!newsfeed.concentric.net!den-news-01.qwest.net!haven.umd.edu!cs.umd.edu!cheezit.cs.umd.edu!aruneshShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10f190,660bfce8ddf165ee,start X-Google-Attributes: gid10f190,public X-Google-ArrivalTime: 2000-11-02 19:21:10 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!209.249.123.233.MISMATCH!xfer10.netnews.com!netnews.com!newspeer.cwnet.com!sjc1.nntp.concentric.net!newsfeed.concentric.net!den-news-01.qwest.net!haven.umd.edu!cs.umd.edu!cheezit.cs.umd.edu!arunesh From: Arunesh Mishra <arunesh@cs.umd.edu> Newsgroups: csd.cmsc818z Subject: bug in JVM ! Date: Thu, 2 Nov 2000 22:03:34 -0500 Organization: U of Maryland, College Park, MD 20742 Lines: 37 Message-ID: <Pine.SOL.4.21.0011022139570.21447-100000@cheezit.cs.umd.edu> NNTP-Posting-Host: cheezit.cs.umd.edu Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: cronkite.cs.umd.edu 973220619 9806 128.8.126.98 (3 Nov 2000 03:03:39 GMT) X-Complaints-To: abuse@cs.umd.edu NNTP-Posting-Date: 3 Nov 2000 03:03:39 GMT