===================================================================== CERT-Renater Note d'Information No. 2021/VULN070 _____________________________________________________________________ DATE : 09/02/2022 HARDWARE PLATFORM(S): / OPERATING SYSTEM(S): Systems running Firefox versions prior to ESR 91.6, 97. ===================================================================== https://www.mozilla.org/en-US/security/advisories/mfsa2022-05/ https://www.mozilla.org/en-US/security/advisories/mfsa2022-04/ _____________________________________________________________________ Mozilla Foundation Security Advisory 2022-05 Security Vulnerabilities fixed in Firefox ESR 91.6 Announced February 8, 2022 Impact high Products Firefox ESR Fixed in Firefox ESR 91.6 #CVE-2022-22753: Privilege Escalation to SYSTEM on Windows via Maintenance Service Reporter Seb Patane Impact high Description A Time-of-Check Time-of-Use bug existed in the Maintenance (Updater) Service that could be abused to grant Users write access to an arbitrary directory. This could have been used to escalate to SYSTEM access. This bug only affects Firefox on Windows. Other operating systems are unaffected. References Bug 1732435 #CVE-2022-22754: Extensions could have bypassed permission confirmation during update Reporter Rob Wu Impact high Description If a user installed an extension of a particular type, the extension could have auto-updated itself and while doing so, bypass the prompt which grants the new version the new requested permissions. References Bug 1750565 #CVE-2022-22756: Drag and dropping an image could have resulted in the dropped object being an executable Reporter Abdulrahman Alqabandi Impact moderate Description If a user was convinced to drag and drop an image to their desktop or other folder, the resulting object could have been changed into an executable script which would have run arbitrary code after the user clicked on it. References Bug 1317873 #CVE-2022-22759: Sandboxed iframes could have executed script if the parent appended elements Reporter Johan Carlsson Impact moderate Description If a document created a sandboxed iframe without allow-scripts, and subsequently appended an element to the iframe's document that e.g. had a JavaScript event handler - the event handler would have run despite the iframe's sandbox. References Bug 1739957 #CVE-2022-22760: Cross-Origin responses could be distinguished between script and non-script content-types Reporter Luan Herrera Impact moderate Description When importing resources using Web Workers, error messages would distinguish the difference between application/javascript responses and non-script responses. This could have been abused to learn information cross-origin. References Bug 1740985 Bug 1748503 #CVE-2022-22761: frame-ancestors Content Security Policy directive was not enforced for framed extension pages Reporter Mart Gil Robles (Mart at FlowCrypt) Impact moderate Description Web-accessible extension pages (pages with a moz-extension:// scheme) were not correctly enforcing the frame-ancestors directive when it was used in the Web Extension's Content Security Policy. References Bug 1745566 #CVE-2022-22763: Script Execution during invalid object state Reporter Mozilla Fuzzing Team Impact moderate Description When a worker is shutdown, it was possible to cause script to run late in the lifecycle, at a point after where it should not be possible. References Bug 1740534 #CVE-2022-22764: Memory safety bugs fixed in Firefox 97 and Firefox ESR 91.6 Reporter Mozilla developers and community Impact high Description Mozilla developers and community members Paul Adenot and the Mozilla Fuzzing Team reported memory safety bugs present in Firefox 96 and Firefox ESR 91.5. 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. References Memory safety bugs fixed in Firefox 97 and Firefox ESR 91.6 _____________________________________________________________________ Mozilla Foundation Security Advisory 2022-04 Security Vulnerabilities fixed in Firefox 97 Announced February 8, 2022 Impact high Products Firefox Fixed in Firefox 97 #CVE-2022-22753: Privilege Escalation to SYSTEM on Windows via Maintenance Service Reporter Seb Patane Impact high Description A Time-of-Check Time-of-Use bug existed in the Maintenance (Updater) Service that could be abused to grant Users write access to an arbitrary directory. This could have been used to escalate to SYSTEM access. This bug only affects Firefox on Windows. Other operating systems are unaffected. References Bug 1732435 #CVE-2022-22754: Extensions could have bypassed permission confirmation during update Reporter Rob Wu Impact high Description If a user installed an extension of a particular type, the extension could have auto-updated itself and while doing so, bypass the prompt which grants the new version the new requested permissions. References Bug 1750565 #CVE-2022-22755: XSL could have allowed JavaScript execution after a tab was closed Reporter Jack Wrenn Impact moderate Description By using XSL Transforms, a malicious webserver could have served a user an XSL document that would continue to execute JavaScript (within the bounds of the same-origin policy) even after the tab was closed. References Bug 1309630 #CVE-2022-22756: Drag and dropping an image could have resulted in the dropped object being an executable Reporter Abdulrahman Alqabandi Impact moderate Description If a user was convinced to drag and drop an image to their desktop or other folder, the resulting object could have been changed into an executable script which would have run arbitrary code after the user clicked on it. References Bug 1317873 #CVE-2022-22757: Remote Agent did not prevent local websites from connecting Reporter James Graham Impact moderate Description Remote Agent, used in WebDriver, did not validate the Host or Origin headers. This could have allowed websites to connect back locally to the user's browser to control it. This bug only affected Firefox when WebDriver was enabled, which is not the default configuration. References Bug 1720098 #CVE-2022-22758: tel: links could have sent USSD codes to the dialer on Firefox for Android Reporter Kirtikumar Anandrao Ramchandani, Patrick Walker & Eric Lawrence Impact moderate Description When clicking on a tel: link, USSD codes, specified after a character, would be included in the phone number. On certain phones, or on certain carriers, if the number was dialed this could perform actions on a user's account, similar to a cross-site request forgery attack. This bug only affects Firefox for Android. Other operating systems are unaffected.* References Bug 1728742 #CVE-2022-22759: Sandboxed iframes could have executed script if the parent appended elements Reporter Johan Carlsson Impact moderate Description If a document created a sandboxed iframe without allow-scripts, and subsequently appended an element to the iframe's document that e.g. had a JavaScript event handler - the event handler would have run despite the iframe's sandbox. References Bug 1739957 #CVE-2022-22760: Cross-Origin responses could be distinguished between script and non-script content-types Reporter Luan Herrera Impact moderate Description When importing resources using Web Workers, error messages would distinguish the difference between application/javascript responses and non-script responses. This could have been abused to learn information cross-origin. References Bug 1740985 Bug 1748503 #CVE-2022-22761: frame-ancestors Content Security Policy directive was not enforced for framed extension pages Reporter Mart Gil Robles (Mart at FlowCrypt) Impact moderate Description Web-accessible extension pages (pages with a moz-extension:// scheme) were not correctly enforcing the frame-ancestors directive when it was used in the Web Extension's Content Security Policy. References Bug 1745566 #CVE-2022-22762: JavaScript Dialogs could have been displayed over other domains on Firefox for Android Reporter James Lee Impact low Description Under certain circumstances, a JavaScript alert (or prompt) could have been shown while another website was displayed underneath it. This could have been abused to trick the user. This bug only affects Firefox for Android. Other operating systems are unaffected. References Bug 1743931 #CVE-2022-22764: Memory safety bugs fixed in Firefox 97 and Firefox ESR 91.6 Reporter Mozilla developers and community Impact high Description Mozilla developers Paul Adenot and the Mozilla Fuzzing Team reported memory safety bugs present in Firefox 96 and Firefox ESR 91.5. 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. References Memory safety bugs fixed in Firefox 97 and Firefox ESR 91.6 #CVE-2022-0511: Memory safety bugs fixed in Firefox 97 Reporter Mozilla developers and community Impact high Description Mozilla developers and community members Gabriele Svelto, Sebastian Hengst, Randell Jesup, Luan Herrera, Lars T Hansen, and the Mozilla Fuzzing Team reported memory safety bugs present in Firefox 96. 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. References Memory safety bugs fixed in Firefox 97 ========================================================= + CERT-RENATER | tel : 01-53-94-20-44 + + 23/25 Rue Daviel | fax : 01-53-94-20-41 + + 75013 Paris | email:cert@support.renater.fr + =========================================================