W3C home > Mailing lists > Public > ietf-http-wg@w3.org > October to December 2016

Re: 2.2. Interaction with "https" URIs | Re: Op-sec simplification

From: Erik Nygren <erik@nygren.org>
Date: Wed, 2 Nov 2016 16:02:38 -0400
Message-ID: <CAKC-DJiGp3g26nDZJg4tor4B7-om+BZZp=Hgp4JXNik_ibDPkQ@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Kari Hurtta <hurtta-ietf@elmme-mailer.org>, HTTP working group mailing list <ietf-http-wg@w3.org>
On Wed, Nov 2, 2016 at 2:13 AM, Martin Thomson <martin.thomson@gmail.com>
wrote:

> On 2 November 2016 at 16:48, Kari Hurtta <hurtta-ietf@elmme-mailer.org>
> wrote:
> > In these cases on these bad examples that http: -probe determined
> > routing.  I guess that bad examples are NOT concern for op-sec, but it
> > may be concern for browser (some secure cookie is then served
> > to http: -routing for example when broser sent it to for
> > https: -scheme).
>
> I'm willing to say that (contrary to previously-held opinions), that
> this is a risk that is worth taking.  If we find that the probe
> triggers a bad route AND that bad route responds favourably to that
> probe, THEN we have to assume that the bad route is smart enough to
> handle requests with a slightly odd scheme.
>

It's not just the "confusion" factor.  There are other reasons why a server
operator may not want mixed-scheme (ie, mixed origin) on the same
connection.  Clients must at least expect that a server will 421 for
mixed-scheme on a connection, and the perf impact and bug risk from this
could be a blocker to some using Opp Sec.

An example of why this could be bad would be a CDN server that terminates
both HTTP and HTTPS over TLS but demuxes them such that HTTPS requires TLS
to content origin but HTTP is allowed to go cleartext to content origin.
When a single TLS connection demuxes to a mixture of TLS and cleartext
traffic, this feels like asking for increased trouble and attack surfaces.
Prohibiting mixed-scheme on the incoming connection makes this feel much
safer.

Another example would be client cert authentication for HTTPS requests
against a TLS connection.  Having these also apply to HTTP requests feels
"weird" somehow (and could be another attack surface).

      Erik
Received on Wednesday, 2 November 2016 20:03:12 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 2 November 2016 20:03:14 UTC