Wireshark-dev: [Wireshark-dev] [Full-disclosure] Re: Bypassing of web filters by using ASCII (f

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Thu, 22 Jun 2006 17:42:57 +0200
The topic is about how ASCII characters with bit 8 set are handled.
I haven't access to my sources right now, so I can't verfiy this.
If this is the case, the right thing to do would be do display any
characters > 0x7F as "undisplayable". 

----- Forwarded message from imipak <imipak@xxxxxxxxx> -----

Delivered-To: jmayer@xxxxxxxxxxxxxxxxxxxxxxxxx
Delivered-To: full-disclosure@xxxxxxxxxxxxxxxxx
Date: Thu, 22 Jun 2006 10:31:29 +0100
From: imipak <imipak@xxxxxxxxx>
To: full-disclosure@xxxxxxxxxxxxxxxxx, k.huwig@xxxxxxxxx
Subject: [Full-disclosure] Re: Bypassing of web filters by using ASCII
Errors-To: full-disclosure-bounces@xxxxxxxxxxxxxxxxx


>2. affected software
>Only the InternetExplorer displays ASCII encoded web pages as 7 bit. We
>checked several hardware router and antivirus solutions, all of which
>failed to detect malicious JavaScript in manipulated web pages.

Ethereal (I can't bring myself to call it 'wireshark' yet) seems to be
vulnerable to the same problem. This is from the 'follow TCP stream'
dialog, showing the request and response for the PoC page:


Host: www.iku-ag.de

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:
Gecko/20060504 Firefox/


Accept-Language: en,en-us;q=0.5

Accept-Encoding: gzip,deflate

Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

Keep-Alive: 300

Connection: keep-alive

Cache-Control: max-age=0

HTTP/1.1 200 OK

Server: Apache-Coyote/1.1

Content-Type: text/html;charset=US-ASCII

Transfer-Encoding: chunked

Date: Thu, 22 Jun 2006 09:21:54 GMT


<html><head><title>ASCII Test</title></head><body><div style="border:
2px solid; padding: 5px; margin-left: 10px; background-color:


Hmmm, I just noticed Firefox's Accept-Charset header doesn't include
ASCII. Does the HTTP spec say that ASCII is the default charset?


Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

----- End forwarded message -----

Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.