CVE-2023-37209
High · 8.8CVSS
8.8
EPSS
0.6%
Published
Jul 5, 2023
CISA due date
—
Cloudanix analysis
Older versions of Firefox contain a flaw that lets attackers take control of the browser if a user simply visits a malicious website.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Application
- Class
- Use After Free
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
A use-after-free condition in NotifyOnHistoryReload leaves a dangling reference to a freed LoadingSessionHistoryEntry object that can be reused, resulting in memory corruption that may be turned into arbitrary code execution.
Why it matters to the business
Users on unpatched Firefox versions face the risk of remote code execution simply by visiting a malicious site, which can lead to credential theft, ransomware deployment, or full system compromise across an organization.
How an attack unfolds
An attacker serves a crafted webpage that manipulates browser history navigation and reload sequences; when the freed object reference is later dereferenced, the attacker supplies controlled data to achieve code execution within the browser process.
How to fix it
Upgrade all instances of Firefox to version 115 or later; apply the fix as soon as possible given the high-severity memory corruption nature of the flaw.
How to confirm the fix worked
Verify installed Firefox version is 115 or higher; re-test affected history navigation paths under memory sanitizers or observe absence of crashes on crafted test pages.
Typical attack path
- Attacker hosts a malicious webpage designed to trigger history reload operations
- Victim browser visits the page and the use-after-free is triggered
- Attacker reuses the dangling reference to corrupt memory and gain code execution
- Malicious payload executes in the context of the browser process
How to detect it
Review browser crash logs and memory sanitizer reports for symptoms consistent with use-after-free during history reload operations; correlate with web request logs to malicious domains.
What your security team should do
- Immediately deploy Firefox 115+ across the fleet
- Block or isolate browsers that cannot be updated promptly
- Monitor browser crash reports and memory-corruption indicators for signs of exploitation attempts
The record
A use-after-free condition existed in `NotifyOnHistoryReload` where a `LoadingSessionHistoryEntry` object was freed and a reference to that object remained. This resulted in a potentially exploitable condition when the reference to that object was later reused. This vulnerability affects Firefox < 115.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| SUSE:Enterprise Storage 7 | MozillaFirefox | 0 | 115.0-150200.152.93.1 |
| SUSE:Enterprise Storage 7 | MozillaFirefox-branding-SLE | 0 | 115-150200.9.13.1 |
| SUSE:Enterprise Storage 7.1 | MozillaFirefox | 0 | 115.0-150200.152.93.1 |
| SUSE:Enterprise Storage 7.1 | MozillaFirefox-branding-SLE | 0 | 115-150200.9.13.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | MozillaFirefox | 0 | 115.0-150000.150.91.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | MozillaFirefox-branding-SLE | 0 | 115-150000.4.25.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | MozillaFirefox | 0 | 115.0-150200.152.93.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | MozillaFirefox-branding-SLE | 0 | 115-150200.9.13.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS | MozillaFirefox | 0 | 115.0-150200.152.93.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS | MozillaFirefox-branding-SLE | 0 | 115-150200.9.13.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | MozillaFirefox | 0 | 115.0-150200.152.93.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | MozillaFirefox-branding-SLE | 0 | 115-150200.9.13.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 SP4 | MozillaFirefox | 0 | 115.0-150200.152.93.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 SP4 | MozillaFirefox-branding-SLE | 0 | 115-150200.9.13.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 SP5 | MozillaFirefox | 0 | 115.0-150200.152.93.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 SP5 | MozillaFirefox-branding-SLE | 0 | 115-150200.9.13.1 |
| SUSE:Linux Enterprise Real Time 15 SP3 | MozillaFirefox | 0 | 115.0-150200.152.93.1 |
| SUSE:Linux Enterprise Real Time 15 SP3 | MozillaFirefox-branding-SLE | 0 | 115-150200.9.13.1 |
| SUSE:Linux Enterprise Server 12 SP2-BCL | MozillaFirefox | 0 | 115.0-112.165.1 |
| SUSE:Linux Enterprise Server 12 SP2-BCL | MozillaFirefox-branding-SLE | 0 | 115-35.12.2 |
| SUSE:Linux Enterprise Server 12 SP4-ESPOS | MozillaFirefox | 0 | 115.0-112.165.1 |
| SUSE:Linux Enterprise Server 12 SP4-ESPOS | MozillaFirefox-branding-SLE | 0 | 115-35.12.2 |
| SUSE:Linux Enterprise Server 12 SP4-LTSS | MozillaFirefox | 0 | 115.0-112.165.1 |
| SUSE:Linux Enterprise Server 12 SP4-LTSS | MozillaFirefox-branding-SLE | 0 | 115-35.12.2 |
| SUSE:Linux Enterprise Server 12 SP5 | MozillaFirefox | 0 | 115.0-112.165.1 |
| SUSE:Linux Enterprise Server 12 SP5 | MozillaFirefox-branding-SLE | 0 | 115-35.12.2 |
| SUSE:Linux Enterprise Server 15 SP1-LTSS | MozillaFirefox | 0 | 115.0-150000.150.91.1 |
| SUSE:Linux Enterprise Server 15 SP1-LTSS | MozillaFirefox-branding-SLE | 0 | 115-150000.4.25.1 |
| SUSE:Linux Enterprise Server 15 SP2-LTSS | MozillaFirefox | 0 | 115.0-150200.152.93.1 |
| SUSE:Linux Enterprise Server 15 SP2-LTSS | MozillaFirefox-branding-SLE | 0 | 115-150200.9.13.1 |
| SUSE:Linux Enterprise Server 15 SP3-LTSS | MozillaFirefox | 0 | 115.0-150200.152.93.1 |
| SUSE:Linux Enterprise Server 15 SP3-LTSS | MozillaFirefox-branding-SLE | 0 | 115-150200.9.13.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP4 | MozillaFirefox | 0 | 115.0-112.165.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP4 | MozillaFirefox-branding-SLE | 0 | 115-35.12.2 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | MozillaFirefox | 0 | 115.0-112.165.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | MozillaFirefox-branding-SLE | 0 | 115-35.12.2 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP1 | MozillaFirefox | 0 | 115.0-150000.150.91.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP1 | MozillaFirefox-branding-SLE | 0 | 115-150000.4.25.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | MozillaFirefox | 0 | 115.0-150200.152.93.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | MozillaFirefox-branding-SLE | 0 | 115-150200.9.13.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | MozillaFirefox | 0 | 115.0-150200.152.93.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | MozillaFirefox-branding-SLE | 0 | 115-150200.9.13.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | MozillaFirefox | 0 | 115.0-112.165.1 |
| SUSE:OpenStack Cloud 9 | MozillaFirefox | 0 | 115.0-112.165.1 |
| SUSE:OpenStack Cloud 9 | MozillaFirefox-branding-SLE | 0 | 115-35.12.2 |
| SUSE:OpenStack Cloud Crowbar 9 | MozillaFirefox | 0 | 115.0-112.165.1 |
| SUSE:OpenStack Cloud Crowbar 9 | MozillaFirefox-branding-SLE | 0 | 115-35.12.2 |
| Ubuntu:20.04:LTS | firefox | 0 | 115.0+build2-0ubuntu0.20.04.3 |
| openSUSE:Leap 15.4 | MozillaFirefox | 0 | 115.0-150200.152.93.1 |
| openSUSE:Leap 15.4 | MozillaFirefox-branding-SLE | 0 | 115-150200.9.13.1 |
| openSUSE:Leap 15.5 | MozillaFirefox | 0 | 115.0-150200.152.93.1 |
| openSUSE:Leap 15.5 | MozillaFirefox-branding-SLE | 0 | 115-150200.9.13.1 |
| openSUSE:Tumbleweed | MozillaFirefox | 0 | 115.0-1.1 |
| openSUSE:Tumbleweed | firefox-esr | 0 | 128.5.1-1.1 |
Related vulnerabilities
- CVE-2023-4575 When creating a callback over IPC for showing the File Picker window, multiple of the… Also affects MozillaFirefox
- CVE-2023-4585 Memory safety bugs present in Firefox 116, Firefox ESR 115.1, and Thunderbird 115.1. Also affects MozillaFirefox
- CVE-2023-4576 On Windows, an integer overflow could occur in `RecordedSourceSurfaceCreation` which… Also affects MozillaFirefox
- CVE-2023-4583 When checking if the Browsing Context had been discarded in `HttpBaseChannel`, if the… Also affects MozillaFirefox
- CVE-2023-4580 Push notifications stored on disk in private browsing mode were not being encrypted… Also affects MozillaFirefox
- CVE-2023-4581 Excel `.xll` add-in files did not have a blocklist entry in Firefox's executable… Also affects MozillaFirefox
- CVE-2023-4574 When creating a callback over IPC for showing the Color Picker window, multiple of the… Also affects MozillaFirefox
- CVE-2023-4578 When calling `JS::CheckRegExpSyntax` a Syntax Error could have been set which would end… Also affects MozillaFirefox