Certificate verification bypass through the HTTP/2 Alt-Svc header
A flaw in Firefox's HTTP Alternative Services implementation allowed an Alt-Svc header in an HTTP/2 response to bypass SSL certificate verification for the specified alternate server. An attacker could then impersonate another site via a man-in-the-middle attack without triggering invalid certificate warnings.
mozilla.org
Published on mozilla.org
Security researcher Muneaki Nishimura discovered a flaw in the Mozilla's HTTP Alternative Services implementation. If an Alt-Svc header is specified in the HTTP/2 response, SSL certificate verification can be bypassed for the specified alternate server.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the Alt-Svc handling did not enforce certificate verification for the alternate server specified in the header.
Impact
An attacker could potentially impersonate another site through a man-in-the-middle attack, replacing the original certificate with their own, without displaying invalid certificate warnings.
What the attacker needed
Victim uses vulnerable Firefox or SeaMonkey; attacker can intercept network traffic
The fix
The flaw was fixed in Firefox 37.0.1 and SeaMonkey 2.35.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
When you visit a secure website, your browser checks a digital certificate to confirm you are talking to the real site. This bug meant that a special header in a web response could tell the browser to skip that check for another server, so an attacker in the middle could pretend to be any site without warning.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.