<story><title>Protecting Against HSTS Abuse</title><url>https://webkit.org/blog/8146/protecting-against-hsts-abuse/</url></story><parent_chain></parent_chain><comment><author>mirimir</author><text>FYI re Tor browser:[0]&lt;p&gt;&amp;gt; 15. HSTS and HPKP supercookies&lt;p&gt;&amp;gt; An extreme (but not impossible) attack to mount is the creation of HSTS supercookies. Since HSTS effectively stores one bit of information per domain name, an adversary in possession of numerous domains can use them to construct cookies based on stored HSTS state.&lt;p&gt;&amp;gt; HPKP provides a mechanism for user tracking across domains as well. It allows abusing the requirement to provide a backup pin and the option to report a pin validation failure. In a tracking scenario every user gets a unique SHA-256 value serving as backup pin. This value is sent back after (deliberate) pin validation failures working in fact as a cookie.&lt;p&gt;&amp;gt; Design Goal: HSTS and HPKP MUST be isolated to the URL bar domain.&lt;p&gt;&amp;gt; Implementation Status: Currently, HSTS and HPKP state is both cleared by New Identity, but we don&amp;#x27;t defend against the creation and usage of any of these supercookies between New Identity invocations.&lt;p&gt;0) &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;www.torproject.org&amp;#x2F;projects&amp;#x2F;torbrowser&amp;#x2F;design&amp;#x2F;&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;www.torproject.org&amp;#x2F;projects&amp;#x2F;torbrowser&amp;#x2F;design&amp;#x2F;&lt;/a&gt; [February 19th, 2018]</text></comment>
<story><title>Protecting Against HSTS Abuse</title><url>https://webkit.org/blog/8146/protecting-against-hsts-abuse/</url></story><parent_chain></parent_chain><comment><author>dmm</author><text>Why don&amp;#x27;t browsers just try https first? So if I type &amp;quot;example.com&amp;quot; into the box it tries &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;example.com&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;example.com&lt;/a&gt;.&lt;p&gt;Why is implementing HSTS and preserving the current behavior more useful?</text></comment>