CVE-2023-4052 Path traversal in Firefox
A local attacker can delete arbitrary files with uninstaller privileges via a junction in the updater directory, potentially leading to privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-4052?
CVE-2023-4052 is a medium-severity path traversal vulnerability in Mozilla Firefox, published on 1 Aug 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The Firefox updater created a directory writable by non-privileged users. When uninstalling Firefox, any files in that directory would be recursively deleted with the permissions of the uninstalling user account. This could be combined with creation of a junction (a form of symbolic link) to allow arbitrary file deletion controlled by the non-privileged user. *This bug only affects Firefox on Windows. Other operating systems are unaffected.* This vulnerability affects Firefox < 116, Firefox ESR < 115.1, and Thunderbird < 115.1.
Weakness: CWE-59
Which versions are affected by CVE-2023-4052?
It affects 2 products.
Products include Mozilla Firefox, Mozilla Firefox Esr.
How do I fix CVE-2023-4052?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2023-4052 being exploited?
There is no known exploitation of CVE-2023-4052 in the wild and no public exploit code.
Other vulnerabilities in Mozilla Firefox
Sources
Also known as GHSA-gjqm-928w-fr7f, UBUNTU-CVE-2023-4052.