ASA-2019-00443 – Mozilla Firefox: Same-origin policy treats all files in a directory as having the same-origin


Allele Security Alert

ASA-2019-00443

Identifier(s)

ASA-2019-00443, CVE-2019-11730, MFSA2019-21

Title

Same-origin policy treats all files in a directory as having the same-origin

Vendor(s)

Mozilla Foundation

Product(s)

Mozilla Firefox

Affected version(s)

Mozilla Firefox version before 68

Fixed version(s)

Mozilla Firefox version 68

Proof of concept

Unknown

Description

A vulnerability exists where if a user opens a locally saved HTML file, this file can use file: URIs to access other files in the same directory or sub-directories if the names are known or guessed. The Fetch API can then be used to read the contents of any files stored in these directories and they may uploaded to a server. Luigi Gubello demonstrated that in combination with a popular Android messaging app, if a malicious HTML attachment is sent to a user and they opened that attachment in Firefox, due to that app’s predictable pattern for locally-saved file names, it is possible to read attachments the victim received from other correspondents.

Technical details

Unknown

Credits

Luigi Gubello

Reference(s)

Mozilla Foundation Security Advisory 2019-21
https://www.mozilla.org/en-US/security/advisories/mfsa2019-21/#CVE-2019-11730

Bug 1558299
https://bugzilla.mozilla.org/show_bug.cgi?id=1558299

CVE-2019-11730
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11730

CVE-2019-11730
https://nvd.nist.gov/vuln/detail/CVE-2019-11730

If there is any error in this alert or you wish a comprehensive analysis, let us know.

Last modified: July 18, 2019

We are not responsible for any data loss, device corruption or any other type of issue due to the use of any information mentioned in our security alerts.