News & Information for Technology Purchasers
NewsFactor Network Sites:   NewsFactor.com Security CRM Business Sci-Tech Newsletters White Papers XML/RSS Feed  
   
Home Enterprise I.T. Hardware Software Network Security More Topics...
Network Security
Average Rating:
Rate this article:  
The Problem with JavaScript The Problem with JavaScript
By Joe "Zonker" Brockmeier
December 17, 2002 4:00AM

Digg It!   Bookmark to del.icio.us
Internet Explorer was the only browser that was vulnerable to Nimda. Brendan Eich, the creator of JavaScript, told NewsFactor that the Mozilla team approaches its JavaScript implementation differently.
 
Advertisement

JavaScript is the scapegoat for many of the Web's problems, including pop-ups, pop-unders and other much-maligned browser behaviors. The language's reputation also has been sullied by malware, such as the infamous Nimda worm, that uses it to spread through the Web.

The truth, however, is that JavaScript is not to blame. JavaScript takes the fall because many people do not understand the relationship between the language and its implementation.

History of JavaScript

Despite their confusingly similar names, JavaScript was developed separately from Java. The scripting language debuted as part of the Netscape Navigator 2.0 browser. After Navigator 3.0 was released, Netscape submitted a draft standard of JavaScript to the European Computer Manufacturer's Association (ECMA).

Adopted as a standard by ECMA, the language's official title is actually ECMAScript, though Netscape continued to call its implementation JavaScript, and Microsoft Relevant Products/Services refers to its own version as JScript. The end result is that great confusion abounds when people talk about vulnerabilities related to JavaScript.

Understanding JavaScript

Mitchell Stoltz, lead security engineer for Netscape, pointed out that there is a difference between the JavaScript language and its implementation. "JavaScript is basically a programming language like C++," he told NewsFactor. "When many people talk about JavaScript in a browser context, what they're really talking about is the DOM (Document Object Model), a series of interfaces for manipulating the contents of a Web page." DOM is a World Wide Web Consortium (W3C) specification that provides an interface to let programs or scripts manipulate documents dynamically.

Stoltz said users should blame faulty programs, not the language itself, when a problem arises. "You're talking about vulnerabilities in a browser or mail client implementation, exposed through JavaScript," he noted. "JavaScript is not to blame; it's the browser implementation that the JavaScript controls."

In other words, JavaScript cannot do anything that an application does not allow it to do.

Where JavaScript Threatens

That is not to say users should be unconcerned about Web pages that contain JavaScript. Joe Hartmann, a virus expert with Trend Micro, told NewsFactor that JavaScript was an essential ingredient used in spreading the Nimda worm. "When you got infected with Nimda, the virus would search for Web servers and try to insert malicious JavaScript lines of code into existing ... pages," Hartmann said. In this way, Nimda would set the stage for replication. "It was just one to two lines [that] caused vulnerable (unpatched) browsers to automatically execute infected .eml files. As a result, people got infected with Nimda by browsing infected Web sites." (continued...)

1  |  2  |  Next Page >

 

Advertisement


Advertisement


 Network Security
1.   Lockout Called 'Misunderstanding'
2.   San Francisco's System Held Hostage
3.   Innovative Data Security Options
4.   You've Got Mail and Security Breaches
5.   DNS Security Flaw Secretly Patched


advertisement
Test Your Information-Security IQTest Your Information-Security IQ
Just how security-savvy are you?
Average Rating:
Innovative Data Security OptionsInnovative Data Security Options
Data loss and loss of access are key.
Average Rating:
You've Got Mail and Security BreachesYou've Got Mail and Security Breaches
Layered technology can manage risk.
Average Rating:
Product Information and Resources for Technology You Can Use To Boost Your Business

Enterprise Hardware Spotlight
PC Shipments Rose Faster Than Expected
PC shipments rose faster than expected in the second quarter, fueled by exceptional demand in emerging markets and a price decline in the U.S. and Western Europe, a research group said.
 
Better Computer Chips Raise Laptops' Abilities
The laptop market has sparked a war among computer chip companies -- and they're not just fighting over who can build the fastest processor: Benefits include better graphics and battery life.
 
Review: Epson PP-100 Discproducer Does Double Duty
Epson's PP-100 is a super-cool printer that doubles as a duplicator. Whether you need to produce one disc or 1,000, you will find the PP-100 is a professionally built, solid and reliable duplicator/printer.
 

Navigation
NewsFactor Network
Home/Top News | Enterprise I.T. | Hardware | Software | Network Security | Wireless Tech | Linux/Open Source | Apple/Macintosh
Microsoft/Windows | World Wide Web | Data Storage | E-Commerce | Personal Tech | Tech Trends | Business Briefing
NewsFactor Network Enterprise I.T. Sites
NewsFactor Technology News | Enterprise Security Today | CRM Daily

NewsFactor Business and Innovation Sites
Sci-Tech Today | NewsFactor Business Report

NewsFactor Services
FreeNewsFeed | Free Newsletters | Free Whitepapers | XML/RSS Feed

About NewsFactor Network | How To Contact Us | Article Reprints | Careers @ NewsFactor | How To Advertise

Privacy Policy | Terms of Service
© Copyright 2000-2008 NewsFactor Network. All rights reserved. Article rating technology by Blogowogo.