[13661] in bugtraq

home help back first fref pref prev next nref lref last post

Re: "Strip Script Tags" in FW-1 can be circumvented

daemon@ATHENA.MIT.EDU (James Lin)
Wed Feb 2 15:21:34 2000

Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Message-Id:  <Pine.GSO.4.10.10002011146380.12709-100000@stargazer.jeditech.com>
Date:         Tue, 1 Feb 2000 11:55:02 -0800
Reply-To: James Lin <james@JEDITECH.COM>
From: James Lin <james@JEDITECH.COM>
To: BUGTRAQ@SECURITYFOCUS.COM
In-Reply-To:  <8F04455EA3A3D21195A600104B72E3861E0182@yap.cinteractive.com>

On Mon, 31 Jan 2000, Jonah Kowall wrote:

> 	I don't consider this a bug in FW-1, but a bug in the products
> navigator, and internet explorer.  These tags shouldn't be parsed, because

	Perhaps a bug or feature - they are adhering to the principle of
"flexible in what you accept." Browsers have always given a lot of leeway to
poorly written HTML and scripts, and authors expect them to behave that way
(whether that is good or bad is another debate)

The firewall should be just as flexible in order to recognize all errors. In
this case I expect firewall to either strip the SCRIPT tag, or deny access to
this document because it contains illegal HTML - just as it would if the user
tried to access a malformed URL.

Keep in mind exploits often take advantage of bugs or deficiences in
protocols, and isn't that what a firewall is supposed to protect
against? :=)

-James

> -----Original Message-----
> From: Arne Vidstrom [mailto:arne.vidstrom@NTSECURITY.NU]
> Sent: Saturday, January 29, 2000 8:52 AM
> To: BUGTRAQ@SECURITYFOCUS.COM
> Subject: "Strip Script Tags" in FW-1 can be circumvented
>
>
> Hi all,
>
> The "Strip Script Tags" in FW-1 can be circumvented by adding an extra <
> before the <SCRIPT> tag like in this code:
>
> <HTML>
> <HEAD>
> <<SCRIPT LANGUAGE="JavaScript">
> alert("hello world")
> </SCRIPT>
> </HEAD>
> <BODY>
> test
> </BODY>
> </HTML>
>
> This code will pass unchanged, and still execute in both Navigator and
> Explorer. I tried this on version 3.0 of FW-1 (on Windows NT 4.0) but I'm
> not able to check it on version 4.0 since I don't have access to it.
>
>
> /Arne Vidstrom
>
> http://ntsecurity.nu
>
>

home help back first fref pref prev next nref lref last post