CVE-2024-47884 Insecure Temporary File in `foxmarks`
A local attacker can read sensitive Firefox history and bookmarks data due to insecure temporary file permissions in the foxmarks CLI tool.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-47884?
CVE-2024-47884 is a low-severity vulnerability in zefr0x foxmarks, published on 11 Oct 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
foxmarks is a CLI read-only interface for Firefox's bookmarks and history. A temporary file was created under the /tmp directory with read permissions for all users containing a copy of Firefox's database of bookmarks, history, input history, visits counter, use counter, view counter and more confidential information about the history of using Firefox. Permissions default to 0o600 for NamedTempFile. However, after copying the database, its permissions were copied with it resulting in an insecure file with 0x644 permissions. A malicious user is able to read the database when the targeted user executes foxmarks bookmarks or foxmarks history. This vulnerability is patched in v2.1.0.
Weakness: CWE-378
Which versions are affected by CVE-2024-47884?
How do I fix CVE-2024-47884?
No fix has been published for CVE-2024-47884 yet. Limit exposure of the affected software until one is available.
Is CVE-2024-47884 being exploited?
There is no known exploitation of CVE-2024-47884 in the wild and no public exploit code.
Sources
Also known as GHSA-8rh2-6pwm-5vvq.