Skip to content
Crypto Disclosed report

Visit site anyway allows to load any domains if same invalid certificate is used.

Muneaki Nishimura Follow

Originally disclosed on Mozilla

  • Fixed in 5 days
  • Paid in 27 days
  • Disclosed after 5 days
Text
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.63 Safari/537.36

Steps to reproduce:

Following two web sites use same *invalid* certificate that CN is Akamai.
https://us.playstation.com/
https://www.forbes.com/

Opens https://us.playstation.com/ and taps "Visit site anyway" in certificate error page.


Actual results:

Firefox for iOS allows to load not only us.playstation.com but also https://www.forbes.com/ .

Suppose an attacker does MITM for all web https origins and if same flaud certificate is used, Firefox shows warning only for the first accessed domain but any successive web sites are automatically allowed to load.

This reason is that ErrorPageHelper registers permitted certificate to the certStore without accepted domain name.
https://github.com/mozilla/firefox-ios/blob/78df359fd64aa7fc98bb2e1e7f65863c434fd3bb/Client/Frontend/Browser/ErrorPageHelper.swift#L294



Expected results:

"Visit site anyway" should be applied to the domain user permitted.

The original report as published on Mozilla's Bugzilla, by Muneaki Nishimura. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is known

A high-severity crypto bug in Browser. Mozilla made it public on 9 June 2016.

About Crypto

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is Crypto?

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.

More by Muneaki Nishimura

View all

74 more disclosed reports, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cryptographic weaknesses

The lesson behind this report.

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.