Mozilla Foundation Security Advisory 2021-48
Security Vulnerabilities fixed in Firefox 94
- Announced
- November 2, 2021
- Impact
- high
- Products
- Firefox
- Fixed in
-
- Firefox 94
#CVE-2021-38503: iframe sandbox rules did not apply to XSLT stylesheets
- Reporter
- Armin Ebert
- Impact
- high
Description
The iframe sandbox rules were not correctly applied to XSLT stylesheets, allowing an iframe to bypass restrictions such as executing scripts or navigating the top-level frame.
References
#CVE-2021-38504: Use-after-free in file picker dialog
- Reporter
- Irvan Kurniawan
- Impact
- high
Description
When interacting with an HTML input element's file picker dialog with webkitdirectory
set, a use-after-free could have resulted, leading to memory corruption and a potentially exploitable crash.
References
#CVE-2021-38505: Windows 10 Cloud Clipboard may have recorded sensitive user data
- Reporter
- Sergey Galich
- Impact
- high
Description
Microsoft introduced a new feature in Windows 10 known as Cloud Clipboard which, if enabled, will record data copied to the clipboard to the cloud, and make it available on other computers in certain scenarios. Applications that wish to prevent copied data from being recorded in Cloud History must use specific clipboard formats; and Firefox before versions 94 and ESR 91.3 did not implement them. This could have caused sensitive data to be recorded to a user's Microsoft account.
This bug only affects Firefox for Windows 10+ with Cloud Clipboard enabled. Other operating systems are unaffected.
References
#CVE-2021-38506: Firefox could be coaxed into going into fullscreen mode without notification or warning
- Reporter
- Irvan Kurniawan
- Impact
- high
Description
Through a series of navigations, Firefox could have entered fullscreen mode without notification or warning to the user. This could lead to spoofing attacks on the browser UI including phishing.
References
#CVE-2021-38507: Opportunistic Encryption in HTTP2 could be used to bypass the Same-Origin-Policy on services hosted on other ports
- Reporter
- Takeshi Terada
- Impact
- high
Description
The Opportunistic Encryption feature of HTTP2 (RFC 8164) allows a connection to be transparently upgraded to TLS while retaining the visual properties of an HTTP connection, including being same-origin with unencrypted connections on port 80. However, if a second encrypted port on the same IP address (e.g. port 8443) did not opt-in to opportunistic encryption; a network attacker could forward a connection from the browser to port 443 to port 8443, causing the browser to treat the content of port 8443 as same-origin with HTTP. This was resolved by disabling the Opportunistic Encryption feature, which had low usage.
References
#CVE-2021-43530: Universal XSS in Firefox for Android via QR Code URLs
- Reporter
- Hafiizh
- Impact
- high
Description
A Universal XSS vulnerability was present in Firefox for Android resulting from improper sanitization when processing a URL scanned from a QR code.
This bug only affects Firefox for Android. Other operating systems are unaffected.
References
#CVE-2021-38508: Permission Prompt could be overlaid, resulting in user confusion and potential spoofing
- Reporter
- Raphael
- Impact
- moderate
Description
By displaying a form validity message in the correct location at the same time as a permission prompt (such as for geolocation), the validity message could have obscured the prompt, resulting in the user potentially being tricked into granting the permission.
References
#CVE-2021-43531: Web Extensions could access pre-redirect URL when their context menu was triggered by a user
- Reporter
- Rob Wu
- Impact
- moderate
Description
When a user loaded a Web Extensions context menu, the Web Extension could access the post-redirect URL of the element clicked. If the Web Extension lacked the WebRequest permission for the hosts involved in the redirect, this would be a same-origin-violation leaking data the Web Extension should have access to. This was fixed to provide the pre-redirect URL. This is related to CVE-2021-43532 but in the context of Web Extensions.
References
#CVE-2021-38509: Javascript alert box could have been spoofed onto an arbitrary domain
- Reporter
- Ademar Nowasky Junior
- Impact
- moderate
Description
Due to an unusual sequence of attacker-controlled events, a Javascript alert()
dialog with arbitrary (although unstyled) contents could be displayed over top an uncontrolled webpage of the attacker's choosing.
References
#CVE-2021-38510: Download Protections were bypassed by .inetloc files on Mac OS
- Reporter
- Hou JingYi
- Impact
- moderate
Description
The executable file warning was not presented when downloading .inetloc files, which can run commands on a user's computer.
Note: This issue only affected Mac OS operating systems. Other operating systems are unaffected.
References
#CVE-2021-43532: 'Copy Image Link' context menu action could have been abused to see authentication tokens
- Reporter
- Ademar Nowasky Junior
- Impact
- low
Description
The 'Copy Image Link' context menu action would copy the final image URL after redirects. By embedding an image that triggered authentication flows - in conjunction with a Content Security Policy that stopped a redirection chain in the middle - the final image URL could be one that contained an authentication token used to takeover a user account. If a website tricked a user into copy and pasting the image link back to the page, the page would be able to steal the authentication tokens. This was fixed by making the action return the original URL, before any redirects.
References
#CVE-2021-43533: URL Parsing may incorrectly parse internationalized domains
- Reporter
- Taiga Shirakura
- Impact
- low
Description
When parsing internationalized domain names, high bits of the characters in the URLs were sometimes stripped, resulting in inconsistencies that could lead to user confusion or attacks such as phishing.
References
#CVE-2021-43534: Memory safety bugs fixed in Firefox 94 and Firefox ESR 91.3
- Reporter
- Mozilla developers
- Impact
- high
Description
Mozilla developers and community members Christian Holler, Valentin Gosu, and Andrew McCreight reported memory safety bugs present in Firefox 93 and Firefox ESR 91.2. Some of these bugs showed evidence of memory corruption and we presume that with enough effort some of these could have been exploited to run arbitrary code.