A file overwrite vulnerability exists in Epiphany when installing WebExtension packages from .xpi files.
A file overwrite vulnerability exists in Epiphany when installing WebExtension packages from .xpi files. In src/webextension/ephy-web-extension-manager.c, decompress_xpi_thread() used libarchive with archive_read_support_format_all() (and filters), so the installer did not require a real ZIP. A TAR file named *.xpi was extracted. TAR supports hard-link entry types; with Epiphany's archive_write_disk options (including ARCHIVE_EXTRACT_PERM), a crafted hard-link target can cause an attacker-chosen existing user-writable file to be truncated and overwritten with attacker-controlled content and mode bits, without a dedicated warning dialog, when the user installs or opens the crafted .xpi. This
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- GNOME
- Product
- Epiphany
- CVSS v3.1
- 5.5 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- Weakness
- CWE-59
- NVD status
- Received
Why it ranks 18 (Routine)
- CVSS v3.1 5.5 medium
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.