From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,d99bb7b877d0807f X-Google-Attributes: gidf7344,public X-Google-Thread: 10f8a1,d99bb7b877d0807f X-Google-Attributes: gid10f8a1,public X-Google-Thread: f6134,d99bb7b877d0807f X-Google-Attributes: gidf6134,public X-Google-Thread: 1164f8,d99bb7b877d0807f X-Google-Attributes: gid1164f8,public From: dsr@mail.lns.cornell.edu (Daniel S. Riley) Subject: Re: Heads-Up on a Monday 13 December Alpha Announcement Date: 1999/12/13 Message-ID: #1/1 X-Deja-AN: 560184539 References: <009E2836.E13F5B68@SendSpamHere.ORG> <1999Dec12.160509.1@eisner> <009E2852.9DAB8F0C@SendSpamHere.ORG> Organization: LNS, Cornell U., Ithaca, NY 14853 Newsgroups: comp.os.vms,comp.sys.dec,vmsnet.alpha,comp.org.decus system@SendSpamHere.ORG (Brian Schenkenberger, VAXman-) writes: > In article <1999Dec12.160509.1@eisner>, kilgallen@eisner.decus.org (Larry Kilgallen) writes: > >A great example of why disabling JavaScript is a good idea. > > Java I fear. JavaScript, however, is relatively benign unless you can > provide me with something to dispell my convictions. Java at least has a security model, and because of this most of the vulnerabilities that have been discovered have been implementation bugs, not design errors. This at least holds out some promise that java security might improve over time (and also explains why java security is a more interesting subject for academics than javascript). JavaScript, on the other hand, not only was born without a security model, but worse *breaks* the browser's security model in fundamental and irremediable ways, through the ability to simulate user actions. There have been many, many javascript security problems found, for example: http://www.cen.uiuc.edu/~ejk/browser-security.html http://www-db.research.bell-labs.com/user/anupam/vulnerability/ http://www.whitehats.com/guninski/netscape.html http://www.schooner.com/~loverso/javascript/ http://www.digicrime.com/exploits.html http://www.because-we-can.com/ http://www.shout.net/~nothing/son-of-cache-cow/index.html http://pages.whowhere.com/computers/cuartangojc/index.html Note particularly the trouble vendors had closing some of these holes, with several iterations required to get the problem patched--due at least in part to the lack of a comprehensive security model. I have every expectation that security problems with javascript will continue to be discovered until it is reengineered from the ground up. There has been some work on JavaScript security for Mozilla: http://www.bell-labs.com/user/alain/usenix-html/usenix-html.html However, this work relies on retro-fitting a security policy onto a codebase that was not designed with security in mind, and for this reason I expect it will have its share of vulnerabilities as well. -- Dan Riley dsr@mail.lns.cornell.edu Wilson Lab, Cornell University "History teaches us that days like this are best spent in bed"