Please ensure Javascript is enabled for purposes of website accessibility
Portal oficial del Gobierno de Puerto Rico. 
Un sitio web oficial .pr.gov pertenece a una organización oficial del Gobierno de Puerto Rico.
Los sitios web seguros .pr.gov usan HTTPS, lo que significa que usted se conectó de forma segura a un sitio web.

TECNOLOGÍA

Gobierno de Puerto Rico

Alerta de ciberseguidad

Puerto Rico Innovation & Technology Service

Date:

November 15, 2022

Multiple Vulnerabilities in Mozilla Products Could Allow for Arbitrary Code Execution

Gobierno:
High
Medium
Low
Negocios:
High
Medium
Low
Hogar:
High
Medium
Low

Multiple vulnerabilities have been discovered in Mozilla Firefox and Mozilla Thunderbird, the most severe of which could allow for arbitrary code execution.

  • Mozilla Firefox is a web browser used to access the Internet.
  • Mozilla Firefox ESR is a version of the web browser intended to be deployed in large organizations.
  • Mozilla Thunderbird is a free and open-source cross-platform email client, personal information manager, news client, RSS and chat client

Successful exploitation of the most severe of these vulnerabilities could allow for arbitrary code execution in the context of the logged on user. Depending on the privileges associated with the user an attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less impacted than those who operate with administrative user rights.

THREAT INTELLIGENCE:
There are currently no reports of these vulnerabilities being exploited in the wild.

SYSTEMS AFFECTED:

  • Mozilla Firefox versions prior to 107
  • Firefox ESR versions prior to 102.5
  • Thunderbird versions prior to 102.5

RISK:
Government:

  • Large and medium government entities: High
  • Small government entities: Medium

Businesses:

  • Large and medium business entities: High
  • Small business entities: Medium

Home users: Low

TECHNICAL SUMMARY:
Multiple vulnerabilities have been discovered in Mozilla Firefox and Mozilla Thunderbird, the most severe of which could allow for arbitrary code execution. Details of these vulnerabilities are as follows:

Tactic: Initial Access (TA0001):

Technique: Drive-by Compromise (T1189):

  • CVE-2022-45421: A boundary error when processing HTML content could allow for arbitrary code execution.
  • CVE-2022-45405: Freeing arbitrary nsIInputStream's on a different thread could lead to a use-after-free and potentially exploitable crash.
  • CVE-2022-45406: An out-of-memory condition when creating a JavaScript global could lead to a use-after-free and a potentially exploitable crash.
  • CVE-2022-45407: Loading a font using FontFace() on a background worker could lead to a use-after-free and a potentially exploitable crash.
  • CVE-2022-45409: Use-after-free in Garbage Collection could lead to a use-after-free and potentially exploitable crash.

Details of lower-severity vulnerabilities are as follows:

  • CVE-2022-45403: Service Workers might have learned size of cross-origin media files.
  • CVE-2022-45404: Fullscreen notification bypass.
  • CVE-2022-45408: Fullscreen notification bypass via windowName.
  • CVE-2022-45410: ServiceWorker-intercepted requests bypassed SameSite cookie policy.
  • CVE-2022-45411: Cross-Site Tracing was possible via non-standard override headers.
  • CVE-2022-45412: Symlinks may resolve to partially uninitialized buffers.
  • CVE-2022-45413: SameSite=Strict cookies could have been sent cross-site via intent URLs.
  • CVE-2022-40674: Use-after-free vulnerability in expat
  • CVE-2022-45415: Downloaded file may have been saved with malicious extension
  • CVE-2022-45416: Keystroke Side-Channel Leakage
  • CVE-2022-45417: Service Workers in Private Browsing Mode may have been written to disk
  • CVE-2022-45418: Custom mouse cursor could have been drawn over browser UI
  • CVE-2022-45419: Deleting a security exception did not take effect immediately
  • CVE-2022-45420: Iframe contents could be rendered outside the iframe

Successful exploitation of the most severe of these vulnerabilities could allow for arbitrary code execution in the context of the logged on user. Depending on the privileges associated with the user an attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less impacted than those who operate with administrative user rights.

RECOMMENDATIONS:

We recommend the following actions be taken:

1. Apply appropriate updates provided by Mozilla to vulnerable systems immediately after appropriate testing. (M1051: Update Software)

  • Safeguard 7.1: Establish and Maintain a Vulnerability Management Process: Establish and maintain a documented vulnerability management process for enterprise assets. Review and update documentation annually, or when significant enterprise changes occur that could impact this Safeguard.
  • Safeguard 7.4: Perform Automated Application Patch Management: Perform application updates on enterprise assets through automated patch management on a monthly, or more frequent, basis.
  • Safeguard 7.7: Remediate Detected Vulnerabilities: Remediate detected vulnerabilities in software through processes and tooling on a monthly, or more frequent, basis, based on the remediation process.
  • Safeguard 9.1: Ensure Use of Only Fully Supported Browsers and Email Clients: Ensure only fully supported browsers and email clients are allowed to execute in the enterprise, only using the latest version of browsers and email clients provided through the vendor.

2. Apply the Principle of Least Privilege to all systems and services. Run all software as a non-privileged user (one without administrative privileges) to diminish the effects of a successful attack. (M1026: Privileged Account Management)

  • Safeguard 4.7: Manage Default Accounts on Enterprise Assets and Software: Manage default accounts on enterprise assets and software, such as root, administrator, and other pre-configured vendor accounts. Example implementations can include: disabling default accounts or making them unusable.
  • Safeguard 5.4: Restrict Administrator Privileges to Dedicated Administrator Accounts: Restrict administrator privileges to dedicated administrator accounts on enterprise assets. Conduct general computing activities, such as internet browsing, email, and productivity suite use, from the user’s primary, non-privileged account.
  • Restrict execution of code to a virtual environment on or in transit to an endpoint system. (M1048: Application Isolation and Sandboxing)
  • Safeguard 4.1: Establish and Maintain a Secure Configuration Process:  Establish and maintain a secure configuration process for enterprise assets (end-user devices, including portable and mobile, non-computing/IoT devices, and servers) and software (operating systems and applications). Review and update documentation annually, or when significant enterprise changes occur that could impact this Safeguard.
  • Safeguard 16.8: Separate Production and Non-Production Systems:  Maintain separate environments for production and non-production systems.

3. Use capabilities to detect and block conditions that may lead to or be indicative of a software exploit occurring. (M1050: Exploit Protection)

  • Safeguard 10.5: Enable Anti-Exploitation Features: Enable anti-exploitation features on enterprise assets and software, where possible, such as Microsoft® Data Execution Prevention (DEP), Windows® Defender Exploit Guard (WDEG), or Apple® System Integrity Protection (SIP) and Gatekeeper™.
  • Safeguard 13.10: Performing Application Layer Filtering:  Perform application layer filtering. Example implementations include a filtering proxy, application layer firewall, or gateway.

4. Restrict use of certain websites, block downloads/attachments, block Javascript, restrict browser extensions, etc. (M1021: Restrict Web-Based Content)

  • Safeguard 9.2: Use DNS Filtering Services: Use DNS filtering services on all enterprise assets to block access to known malicious domains.
  • Safeguard 9.3: Maintain and Enforce Network-Based URL Filters: Enforce and update network-based URL filters to limit an enterprise asset from connecting to potentially malicious or unapproved websites. Example implementations include category-based filtering, reputation-based filtering, or through the use of block lists. Enforce filters for all enterprise assets.
  • Safeguard 9.6: Block Unnecessary File Types: Block unnecessary file types attempting to enter the enterprise’s email gateway.

5. Inform and educate users regarding the threats posed by hypertext links contained in emails or attachments especially from un-trusted sources. Remind users not to visit un-trusted websites or follow links provided by unknown or un-trusted sources. (M1017: User Training)

  • Safeguard 14.1: Establish and Maintain a Security Awareness Program: Establish and maintain a security awareness program. The purpose of a security awareness program is to educate the enterprise’s workforce on how to interact with enterprise assets and data in a secure manner. Conduct training at hire and, at a minimum, annually. Review and update content annually, or when significant enterprise changes occur that could impact this Safeguard.
  • Safeguard 14.2: Train Workforce Members to Recognize Social Engineering Attacks: Train workforce members to recognize social engineering attacks, such as phishing, pre-texting, and tailgating.

REFERENCES:

Mozilla:​​​​​​https://www.mozilla.org/en-US/security/advisories/mfsa2022-47/

https://www.mozilla.org/en-US/security/advisories/mfsa2022-48/

https://www.mozilla.org/en-US/security/advisories/mfsa2022-49/

CVE:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-40674

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45403

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45404

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45405

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45406

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45407

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45408

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45409

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45410

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45411

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45412

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45413

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45415

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45416

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45417

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45418

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45419

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45420

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45421