CVE-2024-47884
JSON

2.4low

Insecure Temporary File in `foxmarks`

Severity
2.4low CVSS:4.0 by GitHub_M
Exploit likelihood
0.18% (higher than 8% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
zefr0x foxmarks< 2.1.0CVE List

Classification

CWE-378

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

foxmarks es una interfaz CLI de solo lectura para los marcadores e historial de Firefox. Se creó un archivo temporal en el directorio /tmp con permisos de lectura para todos los usuarios que contenía una copia de la base de datos de marcadores, historial, historial de entradas, contador de visitas, contador de uso, contador de vistas y más información confidencial sobre el historial de uso de Firefox. Los permisos predeterminados son 0o600 para NamedTempFile. Sin embargo, después de copiar la base de datos, sus permisos se copiaron con ella, lo que resultó en un archivo inseguro con permisos 0x644. Un usuario malintencionado puede leer la base de datos cuando el usuario objetivo ejecuta foxmarks bookmarks o foxmarks history. Esta vulnerabilidad está parcheada en v2.1.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-47884 changed 2025-09-02CVE Terms of Use
NVDCVE-2024-47884 changed 2026-06-17Public domain