[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [WEB SECURITY] Bypassing URL Authentication and Authorization with HTTP Verb Tampering



------_=_NextPart_001_01C8C1AD.10E56552
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Adam,
=20
I wonder how many times I'll have to say we didn't invent verb tampering =
before people will start listening - wow! I imagine this is what Al Gore =
feels like (http://www.snopes.com/quotes/internet.asp). =3D]
=20
Cheers,
Arshan
=20

________________________________

From: adam.muntner@quietmove.com [mailto:adam.muntner@quietmove.com]
Sent: Thu 5/29/2008 12:34 PM
To: Arshan Dabirsiaghi
Cc: Martin O'Neal; websecurity@webappsec.org
Subject: RE: [WEB SECURITY] Bypassing URL Authentication and =
Authorization with HTTP Verb Tampering




There was a whitepaper I recall reading a few years ago that discussed =
doing the same thing with servers running WebDAV.

I did some googling for it, but couldn't find it. Hopefully my summary =
of the paper will trigger someons's memory!

WebDAV allows the use of arbitrary HTTP verbs. The Apache LIMIT =
directive is a blacklist. Put the two together and you have problems - =
an attacker can call a script on a server running WebDAV if they know =
the exact path, using an arbitrary HTTP verb, if the server is running =
WebDAV.

It's all just another feather in the cap of "why blacklists can suck."

Some commercial web scanners like Hailstorm have rules to do things like =
substitute GET for POST to see if interesting things happen. Depending =
on how the web server code is written, I've seen a number cases where =
authentication occurs during a POST but not a GET to the same script.

So, you gave some interesting examples, but the concept of verb =
substitution is nothing new. I enjoyed the paper, but it's hardly =
groundbreaking.

PS - Please lay off the namecalling. After all, this isn't the =
full-disclosure list. :)

Cheers!

Adam Muntner, CISSP
Managing Partner
QuietMove Inc.
http://www.quietmove.com <http://www.quietmove.com/>=20



> -------- Original Message --------
> Subject: RE: [WEB SECURITY] Bypassing URL Authentication and
> Authorization with HTTP Verb Tampering
> From: "Arshan Dabirsiaghi" <arshan.dabirsiaghi@aspectsecurity.com>
> Date: Thu, May 29, 2008 8:11 am
> To: "Martin O'Neal" <martin.oneal@corsaire.com>,
> <websecurity@webappsec.org>
>
> I don't exactly know why, but you're trying to blur the difference =
between "alerting the world when most of them are doing it wrong" and =
"knowing what the RFC says", which is fairly unimportant.
>=20
> If this is a well known issue, please point me to the CWE ID or any =
other prior listing of this information? I'm not saying you didn't =
already have attack technique in your pocket, I'm saying that the world =
needed an alert.
>=20
> Incidentally, if there is no prior art out there, and someone releases =
something, and you say "I knew about that before you did!!! And seeing =
it out on the Interweb makes me soooOO madd!!", you are an idiot.
>=20
> Love,
> Arshan
>
> ________________________________
>
> From: Martin O'Neal [mailto:martin.oneal@corsaire.com]
> Sent: Thu 5/29/2008 10:25 AM
> To: Arshan Dabirsiaghi; websecurity@webappsec.org
> Subject: RE: [WEB SECURITY] Bypassing URL Authentication and =
Authorization with HTTP Verb Tampering
>
>
>
>
> Ok, so you've changed your mind then; the HEAD-redirect-to-GET isn't
> anything unique.
>
> Which leaves you with making people aware of the problems with
> implicit-allow rules.  Which is old news.  Which is where we started
> out.
>
> Martin...
>
>
> ----------------------------------------------------------------------
> CONFIDENTIALITY:  This e-mail and any files transmitted with it are
> confidential and intended solely for the use of the recipient(s) only.
> Any review, retransmission, dissemination or other use of, or taking
> any action in reliance upon this information by persons or entities
> other than the intended recipient(s) is prohibited.  If you have
> received this e-mail in error please notify the sender immediately
> and destroy the material whether stored on a computer or otherwise.
> ----------------------------------------------------------------------
> DISCLAIMER:  Any views or opinions presented within this e-mail are
> solely those of the author and do not necessarily represent those
> of Corsaire Limited, unless otherwise specifically stated.
> ----------------------------------------------------------------------
> Corsaire Limited, registered in England No. 3338312. Registered
> office: Portland House, Park Street, Bagshot, Surrey GU19 5PG.
> Telephone: +44 (0)1483-746700



------_=_NextPart_001_01C8C1AD.10E56552
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<HTML dir=3Dltr><HEAD><TITLE>RE: [WEB SECURITY] Bypassing URL =
Authentication and Authorization with HTTP Verb Tampering</TITLE>=0A=
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dunicode">=0A=
<META content=3D"MSHTML 6.00.6000.16640" name=3DGENERATOR></HEAD>=0A=
<BODY>=0A=
<DIV id=3DidOWAReplyText7530 dir=3Dltr>=0A=
<DIV dir=3Dltr><FONT face=3DArial color=3D#000000 =
size=3D2>Adam,</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial color=3D#000000 size=3D2>I wonder how =
many times I'll have to say we didn't invent verb tampering before =
people will start listening - wow! I imagine this is what Al Gore feels =
like (<A =
href=3D"http://www.snopes.com/quotes/internet.asp";>http://www.snopes.com/=
quotes/internet.asp</A>). =3D]</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>Cheers,</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>Arshan</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></DIV>=0A=
<DIV dir=3Dltr><BR>=0A=
<HR tabIndex=3D-1>=0A=
<FONT face=3DTahoma size=3D2><B>From:</B> adam.muntner@quietmove.com =
[mailto:adam.muntner@quietmove.com]<BR><B>Sent:</B> Thu 5/29/2008 12:34 =
PM<BR><B>To:</B> Arshan Dabirsiaghi<BR><B>Cc:</B> Martin O'Neal; =
websecurity@webappsec.org<BR><B>Subject:</B> RE: [WEB SECURITY] =
Bypassing URL Authentication and Authorization with HTTP Verb =
Tampering<BR></FONT><BR></DIV>=0A=
<DIV><BR>=0A=
<P><FONT size=3D2>There was a whitepaper I recall reading a few years =
ago that discussed doing the same thing with servers running =
WebDAV.<BR><BR>I did some googling for it, but couldn't find it. =
Hopefully my summary of the paper will trigger someons's =
memory!<BR><BR>WebDAV allows the use of arbitrary HTTP verbs. The Apache =
LIMIT directive is a blacklist. Put the two together and you have =
problems - an attacker can call a script on a server running WebDAV if =
they know the exact path, using an arbitrary HTTP verb, if the server is =
running WebDAV.<BR><BR>It's all just another feather in the cap of "why =
blacklists can suck."<BR><BR>Some commercial web scanners like Hailstorm =
have rules to do things like substitute GET for POST to see if =
interesting things happen. Depending on how the web server code is =
written, I've seen a number cases where authentication occurs during a =
POST but not a GET to the same script.<BR><BR>So, you gave some =
interesting examples, but the concept of verb substitution is nothing =
new. I enjoyed the paper, but it's hardly groundbreaking.<BR><BR>PS - =
Please lay off the namecalling. After all, this isn't the =
full-disclosure list. :)<BR><BR>Cheers!<BR><BR>Adam Muntner, =
CISSP<BR>Managing Partner<BR>QuietMove Inc.<BR><A =
href=3D"http://www.quietmove.com/";>http://www.quietmove.com</A><BR><BR><B=
R><BR>&gt; -------- Original Message --------<BR>&gt; Subject: RE: [WEB =
SECURITY] Bypassing URL Authentication and<BR>&gt; Authorization with =
HTTP Verb Tampering<BR>&gt; From: "Arshan Dabirsiaghi" =
&lt;arshan.dabirsiaghi@aspectsecurity.com&gt;<BR>&gt; Date: Thu, May 29, =
2008 8:11 am<BR>&gt; To: "Martin O'Neal" =
&lt;martin.oneal@corsaire.com&gt;,<BR>&gt; =
&lt;websecurity@webappsec.org&gt;<BR>&gt;<BR>&gt; I don't exactly know =
why, but you're trying to blur the difference between "alerting the =
world when most of them are doing it wrong" and "knowing what the RFC =
says", which is fairly unimportant.<BR>&gt;&nbsp;<BR>&gt; If this is a =
well known issue, please point me to the CWE ID or any other prior =
listing of this information? I'm not saying you didn't already have =
attack technique in your pocket, I'm saying that the world needed an =
alert.<BR>&gt;&nbsp;<BR>&gt; Incidentally, if there is no prior art out =
there, and someone releases something, and you say "I knew about that =
before you did!!! And seeing it out on the Interweb makes me soooOO =
madd!!", you are an idiot.<BR>&gt;&nbsp;<BR>&gt; Love,<BR>&gt; =
Arshan<BR>&gt;<BR>&gt; ________________________________<BR>&gt;<BR>&gt; =
From: Martin O'Neal [<A =
href=3D"mailto:martin.oneal@corsaire.com";>mailto:martin.oneal@corsaire.co=
m</A>]<BR>&gt; Sent: Thu 5/29/2008 10:25 AM<BR>&gt; To: Arshan =
Dabirsiaghi; websecurity@webappsec.org<BR>&gt; Subject: RE: [WEB =
SECURITY] Bypassing URL Authentication and Authorization with HTTP Verb =
Tampering<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; Ok, so you've changed =
your mind then; the HEAD-redirect-to-GET isn't<BR>&gt; anything =
unique.<BR>&gt;<BR>&gt; Which leaves you with making people aware of the =
problems with<BR>&gt; implicit-allow rules.&nbsp; Which is old =
news.&nbsp; Which is where we started<BR>&gt; out.<BR>&gt;<BR>&gt; =
Martin...<BR>&gt;<BR>&gt;<BR>&gt; =
----------------------------------------------------------------------<BR=
>&gt; CONFIDENTIALITY:&nbsp; This e-mail and any files transmitted with =
it are<BR>&gt; confidential and intended solely for the use of the =
recipient(s) only.<BR>&gt; Any review, retransmission, dissemination or =
other use of, or taking<BR>&gt; any action in reliance upon this =
information by persons or entities<BR>&gt; other than the intended =
recipient(s) is prohibited.&nbsp; If you have<BR>&gt; received this =
e-mail in error please notify the sender immediately<BR>&gt; and destroy =
the material whether stored on a computer or otherwise.<BR>&gt; =
----------------------------------------------------------------------<BR=
>&gt; DISCLAIMER:&nbsp; Any views or opinions presented within this =
e-mail are<BR>&gt; solely those of the author and do not necessarily =
represent those<BR>&gt; of Corsaire Limited, unless otherwise =
specifically stated.<BR>&gt; =
----------------------------------------------------------------------<BR=
>&gt; Corsaire Limited, registered in England No. 3338312. =
Registered<BR>&gt; office: Portland House, Park Street, Bagshot, Surrey =
GU19 5PG.<BR>&gt; Telephone: +44 =
(0)1483-746700<BR></FONT></P></DIV></BODY><!--[object_id=3D#aspectsecurit=
y.com#]--></HTML>
------_=_NextPart_001_01C8C1AD.10E56552--



Brought to you by http://www.webappsec.org
Search this site