[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1177480317.4600.37.camel@duo.jes.ee>
Date: Wed, 25 Apr 2007 08:51:57 +0300
From: Tõnu Samuel <tonu@....ee>
To: full-disclosure@...ts.grok.org.uk
Subject: [Fwd: Re: Apache Illegal Request
Handling Possible XSS Vulnerability]
oops, missed the CC to list
Subject: Re: [Full-disclosure] Apache Illegal Request Handling Possible XSS
Vulnerability
From: =?ISO-8859-1?Q?T=F5nu?= Samuel <tonu@....ee>
To: Guasconi Vincent <tyoptyop@...il.com>
In-Reply-To: <985b1a3d0704240224x2ddfbd47k804ceca945e2b345@...l.gmail.com>
References: <3d3168e50704240153y3829d15cm8abb7b5d2d7ff86d@...l.gmail.com>
<985b1a3d0704240224x2ddfbd47k804ceca945e2b345@...l.gmail.com>
Content-Type: text/plain; charset=utf-8
Message-Id: <1177480279.4600.35.camel@....jes.ee>
Mime-Version: 1.0
X-Mailer: Evolution 2.8.2
Date: Wed, 25 Apr 2007 08:51:19 +0300
Content-Transfer-Encoding: 8bit
On Tue, 2007-04-24 at 11:24 +0200, Guasconi Vincent wrote:
> <?php
> echo htmlentities($_SERVER['REQUEST_METHOD']);
> echo htmlentities($_SERVER['SERVER_PROTOCOL']);
> ?>
>
> Sorry but,
> where's the hole? (^-^)
Hole is that you still can pass utf7 through it. htmlentities know
nothing about context encoding.
echo "<script>alert('BEeF');</script>" | iconv -f utf8 -t utf7
+ADw-script+AD4-alert('BEeF')+ADsAPA-/script+AD4
Tõnu
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/
Powered by blists - more mailing lists