August 30, 1999 1:25 PM PDT

Malicious Java code uses IE to access computers

Researchers have created a malicious Java program that takes advantage of a security hole in Microsoft's Internet Explorer browser to get unlimited control over a Windows-based computer.

Within two days of hearing about the problem, Microsoft wrote and issued a patch to fix it, a spokeswoman for the company said.

Through the security hole, a malicious Java program called an "attack applet" could "install a virus, read your email, write a file, set up a monitoring station, turn on your microphone," said Gary McGraw, a Java security expert and co-author of the book Securing Java. "It could do anything. It's way worse" than a bug that just crashes a computer, he said.

Java is a technology created by Sun Microsystems that allows programs to be sent across a network and run on any Java-enabled computer.

The glitch was discovered by Edward Felten of the Secure Internet Programming team at Princeton University and two of his former students, Dean Wallach at Rice University and Drew Dean at Xerox PARC, McGraw said. The researchers reported the hole to Microsoft, and it hasn't been used otherwise maliciously to McGraw's knowledge.

The glitch only affected Microsoft's Java software on computers running Windows 95, 98, or NT, McGraw and Microsoft said. Netscape Web browsers and Microsoft Web browsers for Macintosh or other computers aren't affected.

"The flaw itself was pretty easy to find, but writing the exploit was kind of difficult," said McGraw, who has spoken with the discoverers of the vulnerability.

A hole in the Java sandbox
Java is more than just a programming language. Designed into the technology is the ability to run software sent across computer networks, a concept known as "mobile code." For example, a Java-enabled Web browser can download and run a Java program called an "applet" from a Web site.

But with the advantages of mobile code comes a threat, too. Sun Microsystems, which invented the Java technology, tried to head off these problems in advance by restricting the types of actions that downloaded Java programs. The technique confines the applet to a harmless zone called the "sandbox."

But the new vulnerability evades that sandbox in Internet Explorer. The attack applet takes advantage of a glitch in a piece of Java software called the class loader, whose job it is to load Java software into the computer's memory, McGraw said.

The problem is made worse by the fact that the attack applet can be delivered by email, the discoverers said. "The flaw allows the creation of a malicious applet that is attached to a [Web] page, which could be delivered...by email via Outlook or other mail programs that use Microsoft's Java virtual machine," the discovers wrote on their Web site.

That means that a clever programmer could create a malicious program that propagated itself the same way as the Melissa virus, McGraw said.

Sun's Java is pretty secure technology, though problems crop up from time to time, McGraw said. "Java is head and shoulders above everything else from the perspective of mobile code, but that that doesn't mean it's perfect. Unfortunately, you have to be perfect in order to be secure," he said.

Java is still better than Microsoft's equivalent technology, ActiveX, which doesn't have a sandbox, McGraw said. ActiveX security relies on the concept of the mobile code coming from a trusted source that has "signed" the program. "The best idea is to turn [ActiveX] off," McGraw said.

Powered by Jive Software
advertisement

Latest tech news headlines

Resource center from News.com sponsors
What you need in business class email.
Mailtrust

Click Here!
Never worry about email again. From mobility and shared calendaring to virus and spam protection starting at only $3 per mailbox. more>

Rackspace Mailtrust
Total Email Relief

We'll take care of your email so you can take care of your business.

14 Day Free Trial

With expert support 24x7x365 we guarentee 100% uptime. Try us for free for 14 days. Never worry about your email again.

Just $3 per mailbox

Choose the plan that is right for your company and only pay for what you need.

RSS Feeds

Add headlines from CNET News to your homepage or feedreader.

More feeds available in our RSS feed index.

advertisement

Inside CNET News

Scroll Left Scroll Right
  • Nanotech: The Circuits Blog

    Timing rumors surface for AMD plant spin-off

    Rumors persist that Advanced Micro Devices is planning to spin off all or part of its manufacturing operations.

  • Gallery

    Photos: Ron Paul's RNC alternative

    As the Republican convention took place just miles away, a crowd rallied for the former presidential candidate and his message of limited government, ensured civil liberties, lower taxes, and peace.

  • Digital Noise: Music and Tech

    Was 1980s music that bad?

    NPR asks listeners which year featured the best music, and the 1980s emerge as a bleak era. Personally, the '80s figure prominently in my collection, but well behind the 1970s.

  • Beyond Binary

    Microsoft begins big ad push

    Microsoft's multi-year push, estimated at $300 million, begins with a spot featuring Bill Gates and Jerry Seinfeld aired during Thursday's NFL game.

  • Video

    YouTube plays party politics

    During the presidential campaigning four years ago, YouTube didn't even exist. Now it's a tool candidates must master to get their message across. CNET's Kara Tsuboi stops by the YouTube upload booths at the Democratic and Republican conventions to find out why Google's video site has such a big presence in Denver and St. Paul, Minn.

  • News - Digital Media

    Michael Moore plans Net-only film premiere

    Filmmaker plans to premiere his latest documentary exclusively on the Internet for free, forgoing the traditional theatrical release.

  • Video

    Political party playlists

    We know the Democrats and Republicans are split over policy issues, but does their musical taste fall down party lines too? And what kind of gadgets did they bring to the conventions to listen to their music? CNET reporter Kara Tsuboi finds out.

  • News - Politics and Law

    What you can-- and can't-- find about Palin on the Internet

    John McCain's choice of Sarah Palin as a running mate has inspired a wealth of creativity on the Internet.

  • News - Cutting Edge

    Execs predict next Google-like tech

    On eve of company's 10-year anniversary, researchers and business pundits speculate about what technologies might someday have as much impact as Google.

  • Gallery

    Photos: The brains behind Google Chrome

    Here's a look at some of the engineers and executives who took the stage at the company's headquarters as they unveiled the new browser.

  • Webware

    10 things we'd like to see in Chrome

    Google's Chrome is pretty good, but it could be a whole lot better. We've rounded up 10 fairly extensive ways to tweak it to make it an all-around better browser.

  • Green Tech

    Clean-tech group forms to support Obama

    "Clean Tech and Green Business for Obama" aims to raise $1 million for the Democratic presidential nominee while elevating issues of climate change and alternative energy.