[33923] in bugtraq

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

Re: blocking gzip encoded files

daemon@ATHENA.MIT.EDU (mgotts@2roads.com)
Tue Feb 24 12:16:14 2004

In-Reply-To: <403A80EF.1080900@cissp.com>
To: Darwin Mecham <darwin@cissp.com>
Cc: bugtraq@securityfocus.com
MIME-Version: 1.0
Message-ID: <OF9E8E92C8.122827FC-ON88256E44.000AD658-88256E44.000B2B72@2roads.com>
From: mgotts@2roads.com
Date: Mon, 23 Feb 2004 18:01:59 -0800
Content-Type: text/plain; charset="US-ASCII"

Darwin Mecham <darwin@cissp.com> wrote on 02/23/2004 02:38:39 PM:

> It has recently come to my attention that most browsers happily
> do Accept-encoding: gzip and streaming decompression of
> HTML data received with Content-encoding: gzip
>  without asking.
> 
> This has been in use since sometime in 1998.
> 
> Is there a way to configure the run-of-the-mill browser to
> block these at the host level ?

I don't know of a browser setting to enable/disable it. But you can use 
something like Proxomitron to do it (http://www.proxomitron.info/). The 
gzip setting is one of the "Headers" settings and is called "
Accept-encoding: Allow webpage encoding (out)". Disable this to prevent 
gzip encoding from being used. I've done so in the past, and it does 
indeed work as advertised.

Proxomitron does *MUCH* more than this, if you are not yet familiar with 
it.

-- Mark


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