Crashing Browsers with HTML: Big Deal!

Crashing Browsers with HTML: Big Deal!

Written By
Larry Seltzer
Larry Seltzer
May 22, 2003
3 minute read
eWeek content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More

Its not uncommon in the browser-vulnerabilities business to hear about an issue that crashes the browser. Most of the time you hear about Internet Explorer—justifiably so, since its the one nearly everyone uses. Other browsers have these same problems, too. You just dont hear about them for the same reason you dont hear about the things they do well: Nobody cares.

Obviously its not a good thing for the browser to crash, but its not that big a deal. As much as people are outraged when another one is discovered, none of these vulnerabilities ever become widespread. They dont spread themselves, and any Web page that implemented them would be offline before too long.

The latest one to get attention is an embarrassing one for Microsoft. All you need in the Web page is ; legal HTML would have a word after type, and it appears IE just assumes there is one. When the parser fails to find one, a null pointer is used to define the type. (See this detailed explanation on the BugTraq mailing list if youre really interested in how the bug works.)

So you load a page with this bum tag in it, and Internet Explorer magically disappears. Should you fear this? How would it happen to you? Anyone who put this combination in a legitimate Web page would quickly discover his or her error. An illegitimate page wouldnt get visited all that often. I also tried putting it into an HTML e-mail, and somehow the type clause got stripped out by the sending client (Outlook 2002). alone doesnt cause the crash.

IE is not alone in these problems. This line will start opening endess windows on any version of Mozilla or IE:

<

script

>

for(;;){window.open();}

<

/script

>

Its pretty ugly, and you end up having to terminate the browser process with extreme prejudice. This is a very old problem, and Im not sure why it hasnt been fixed; but then again, Im not sure how it could be fixed either.

This innocuous-looking code crashes all but the most recent versions of Netscape 4.x:

<

table

>

<

tr

>

<

td style=

padding: 5

>

<

blockquote

>

some text

<

/blockquote

>

<

table

>

<

tr

>

<

td

>

some text

<

/td

>

<

/tr

>

<

/table

>

<

/td

>

<

/tr

>

<

/table

>

Why do some of these bugs live on? Like all software developers, browser writers have to set priorities in the bugs they will fix, and these bugs are comparatively minor in terms of the security problem they present.

Of course, absent a “real” security problem, like a buffer overflow, there are other browser-based problems that can matter, such as spoof pages that try to steal your eBay password. But these are not software flaws, and its hard to imagine a technological solution to them.

So not every bug in an Internet-facing application is a security bug, and not every potential security bug is going to be worth worrying about. From the attackers point of view, some of this stuff just isnt worth exploiting. Some of these bugs may eventually go away as virtual environments like Java and .Net become more practical for end-user applications and we can throw CPU power at the problem more freely. But in the meantime, dont get too worked up over every bug that comes along.

Security Supersite Editor Larry Seltzer has worked in and written about the computer industry since 1983.

eWeek Logo

eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site's focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.