CVE-2023-28161
High · 8.8CVSS
8.8
EPSS
0.6%
Published
Jun 2, 2023
CISA due date
—
Cloudanix analysis
A browser permission that should have lasted only once for a local file stayed active for other local files opened in the same tab, allowing unintended access to things like the camera.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Application
- Class
- Authorization Bypass
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Temporary one-time permissions granted to documents loaded via file: URLs persist for all subsequent file: URL documents in the same tab, bypassing per-document isolation.
Why it matters to the business
Organizations face elevated risk of unauthorized local file access or camera/microphone use when users open untrusted downloaded files in the same browser tab, potentially exposing sensitive data or enabling further compromise.
How an attack unfolds
An attacker prepares a local file that requests a one-time permission such as camera access; once granted by the user the permission remains active allowing a second malicious local file loaded in the same tab to abuse the permission without re-prompting.
How to fix it
Upgrade all instances of Firefox to version 111 or later to restore proper per-document permission scoping for file: URLs.
How to confirm the fix worked
Confirm installed Firefox version is 111 or higher; test by granting a one-time permission to one file: URL document and verifying the permission is not available to a second distinct file: URL document in the same tab.
Typical attack path
- User downloads multiple files from different sources into a shared directory
- User opens first file via file: URL and grants temporary permission
- Attacker loads second file via file: URL in the same tab
- Second file silently reuses the persisted permission to access camera, microphone or other resources
How to detect it
Review browser permission logs and download histories for repeated file: URL loads in the same tab shortly after permission grants; examine process execution or network activity following local file opens for signs of unexpected camera or microphone use.
What your security team should do
- Prioritize immediate upgrade of all Firefox deployments to version 111 or newer
- Restrict or monitor use of file: URLs in enterprise browser policies
- Educate users on the risks of opening files from untrusted sources in the same tab
The record
If temporary "one-time" permissions, such as the ability to use the Camera, were granted to a document loaded using a file: URL, that permission persisted in that tab for all other documents loaded from a file: URL. This is potentially dangerous if the local files came from different sources, such as in a download directory. This vulnerability affects Firefox < 111.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| SUSE:Enterprise Storage 7 | MozillaFirefox | 0 | 102.9.0-150200.152.81.1 |
| SUSE:Enterprise Storage 7.1 | MozillaFirefox | 0 | 102.9.0-150200.152.81.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | MozillaFirefox | 0 | 102.9.0-150000.150.79.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | MozillaFirefox | 0 | 102.9.0-150200.152.81.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS | MozillaFirefox | 0 | 102.9.0-150200.152.81.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | MozillaFirefox | 0 | 102.9.0-150200.152.81.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 SP4 | MozillaFirefox | 0 | 102.9.0-150200.152.81.1 |
| SUSE:Linux Enterprise Real Time 15 SP3 | MozillaFirefox | 0 | 102.9.0-150200.152.81.1 |
| SUSE:Linux Enterprise Server 12 SP2-BCL | MozillaFirefox | 0 | 102.9.0-112.153.1 |
| SUSE:Linux Enterprise Server 12 SP4-ESPOS | MozillaFirefox | 0 | 102.9.0-112.153.1 |
| SUSE:Linux Enterprise Server 12 SP4-LTSS | MozillaFirefox | 0 | 102.9.0-112.153.1 |
| SUSE:Linux Enterprise Server 12 SP5 | MozillaFirefox | 0 | 102.9.0-112.153.1 |
| SUSE:Linux Enterprise Server 15 SP1-LTSS | MozillaFirefox | 0 | 102.9.0-150000.150.79.1 |
| SUSE:Linux Enterprise Server 15 SP2-LTSS | MozillaFirefox | 0 | 102.9.0-150200.152.81.1 |
| SUSE:Linux Enterprise Server 15 SP3-LTSS | MozillaFirefox | 0 | 102.9.0-150200.152.81.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP4 | MozillaFirefox | 0 | 102.9.0-112.153.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | MozillaFirefox | 0 | 102.9.0-112.153.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP1 | MozillaFirefox | 0 | 102.9.0-150000.150.79.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | MozillaFirefox | 0 | 102.9.0-150200.152.81.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | MozillaFirefox | 0 | 102.9.0-150200.152.81.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | MozillaFirefox | 0 | 102.9.0-112.153.1 |
| SUSE:OpenStack Cloud 9 | MozillaFirefox | 0 | 102.9.0-112.153.1 |
| SUSE:OpenStack Cloud Crowbar 9 | MozillaFirefox | 0 | 102.9.0-112.153.1 |
| Ubuntu:18.04:LTS | firefox | 0 | 111.0+build2-0ubuntu0.18.04.1 |
| Ubuntu:18.04:LTS | mozjs38 | 0 | No fix |
| Ubuntu:18.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:20.04:LTS | firefox | 0 | 111.0+build2-0ubuntu0.20.04.1 |
| Ubuntu:20.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:20.04:LTS | mozjs68 | 0 | No fix |
| Ubuntu:22.04:LTS | mozjs78 | 0 | No fix |
| Ubuntu:22.04:LTS | mozjs91 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | mozjs38 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | mozjs68 | 0 | No fix |
| Ubuntu:Pro:22.04:LTS | mozjs78 | 0 | No fix |
| openSUSE:Leap 15.4 | MozillaFirefox | 0 | 102.9.0-150200.152.81.1 |
| openSUSE:Tumbleweed | MozillaFirefox | 0 | 111.0.1-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