Re: [websec] HSTS: Infinite max-age to address NTP spoofing attack?

"Hodges, Jeff" <jeff.hodges@paypal.com> Mon, 10 November 2014 19:03 UTC

Return-Path: <jeff.hodges@paypal.com>
X-Original-To: websec@ietfa.amsl.com
Delivered-To: websec@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B151D1A916F for <websec@ietfa.amsl.com>; Mon, 10 Nov 2014 11:03:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -19.901
X-Spam-Level:
X-Spam-Status: No, score=-19.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, MANGLED_BACK=2.3, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TjOskzajaPkn for <websec@ietfa.amsl.com>; Mon, 10 Nov 2014 11:03:03 -0800 (PST)
Received: from den-mipot-002.corp.ebay.com (den-mipot-002.corp.ebay.com [216.113.175.153]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 674991A916D for <websec@ietf.org>; Mon, 10 Nov 2014 11:03:02 -0800 (PST)
DomainKey-Signature: s=paypalcorp; d=paypal.com; c=nofws; q=dns; h=X-EBay-Corp:X-IronPort-AV:Received:Received:From:To: Subject:Thread-Topic:Thread-Index:Date:Message-ID: References:In-Reply-To:Accept-Language:Content-Language: X-MS-Has-Attach:X-MS-TNEF-Correlator:user-agent: x-originating-ip:Content-Type:Content-ID: Content-Transfer-Encoding:MIME-Version:X-CFilter-Loop; b=FN81LRwHL8JB8zAqRMW8kbfiguNxR5zReeZS91KhIOZ/7Oxr+Ck8qjyP Ao7ZZnj6oMdxzyVdWA1dYXf94L1YWrC01CeoBVS3QEe1LVF372Kijybav RAqXrH5LMCwoYLRbuzbb/pXYVm7Y+EGKWLorY/mh8OW0gfm40hYttQVIP Y=;
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paypal.com; i=@paypal.com; q=dns/txt; s=paypalcorp; t=1415646182; x=1447182182; h=from:to:subject:date:message-id:references:in-reply-to: content-id:content-transfer-encoding:mime-version; bh=XudC/oP0QEh1qp5eqcQuC5Y7GRUepLohIrSmO1JAobQ=; b=fruf3ZCshVCFNsVHI0Ij0ha0J8jSffJxbb4elJ3lRkfm7b7n++c+BjSJ oKZRirwauVT0X6Sea4jp7oelDNiulQV/MVzq7BydBj5n6aU/uf4oJfk2W EF4YaIgj/7izVvvdheuLGdJq+J6yBYJ6O5FEl/d79pBKaKUkOrWxBi8d9 c=;
X-EBay-Corp: Yes
X-IronPort-AV: E=Sophos;i="5.07,354,1413270000"; d="scan'208";a="76886188"
Received: from den-vteml-003.corp.ebay.com (HELO DEN-EXMHT-005.corp.ebay.com) ([10.101.112.119]) by den-mipot-002.corp.ebay.com with ESMTP; 10 Nov 2014 11:03:01 -0800
Received: from DEN-EXDDA-S12.corp.ebay.com ([fe80::40c1:9cf7:d21e:46c]) by DEN-EXMHT-005.corp.ebay.com ([fe80::8109:2a37:17ad:e57e%18]) with mapi id 14.03.0195.001; Mon, 10 Nov 2014 12:03:01 -0700
From: "Hodges, Jeff" <jeff.hodges@paypal.com>
To: Hanno Böck <hanno@hboeck.de>, "websec@ietf.org" <websec@ietf.org>
Thread-Topic: [websec] HSTS: Infinite max-age to address NTP spoofing attack?
Thread-Index: AQHP+p231f2A8DX2l0GbTYTfBe4LvZxZ+bwA
Date: Mon, 10 Nov 2014 19:03:01 +0000
Message-ID: <D08598BB.3EB64%jeff.hodges@paypal.com>
References: <BAY180-W65945DCD6DB8531AB08F2BFF850@phx.gbl> <20141107161452.2b834f23@pc>
In-Reply-To: <20141107161452.2b834f23@pc>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.4.2.140509
x-originating-ip: [31.133.171.231]
Content-Type: text/plain; charset="utf-8"
Content-ID: <2FBEF13409B4514E9EF5AFBBE4F7082D@corp.ebay.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: http://mailarchive.ietf.org/arch/msg/websec/0BGtGFZCpqOf6CBPFpWgqWKzB88
Subject: Re: [websec] HSTS: Infinite max-age to address NTP spoofing attack?
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec/>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 10 Nov 2014 19:03:05 -0000

On 11/7/14, 7:14 AM, "Hanno Böck" <hanno@hboeck.de> wrote:

>
>But I am pretty sure that no matter what, the underlying cause needs to
>be fixed. 

Strongly agreed.

>A reliable time plays a role in a number of cases in TLS.
>HPKP is basically vulnerable to the same kind of attack. Certificate
>validity times/expirations are vulnerable.

Yes, there's a plethora of protocols that contain timestampes of one sort
or another. Thus to some degree or another, they rely upo systems' time,
and if that time is corrupted by an attacker then the system and its users
may be in trouble. 

I don't think it's feasible, or in all or most cases a good design, to go
back and 'patch' those protocols to try to guard against NTP-based attacks
(as one example of how system time may be corrupted), rather, platforms
should (as AGL noted in a earlier thread "NTP vs. HSTS" on [1]) "fix the
clock" (I.e. Address NTP and other clock vulns).

=JeffH

[1] W3C Web App Security WG <public-webappsec@w3.org>
    http://lists.w3.org/Archives/Public/public-webappsec/