Information disclosure in LibreOffice - CVE-2018-6871,CVE-2018-1055
Published: February 9, 2018 / Updated: June 17, 2021
Vulnerability identifier: #VU10444
CSH Severity: Low
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-6871,CVE-2018-1055
CWE-ID: CWE-200
Exploitation vector: Remote access
Exploit availability:
Public exploit is available
Vulnerability details
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists in LibreOffice Calc, which supports COM.MICROSOFT.WEBSERVICE function to obtain data by URL. The application allows WEBSERVICE to take a local file URL (e.g file://) which can be used to inject local files into the spreadsheet without warning the user. Subsequent formulas can operate on that inserted data and construct a remote URL. A remote attacker can create a specially crafted document, trick the victim into opening it and use WEBSERVICE functionality to send arbitrary local files to the attacker's controlled server.
The vulnerability exists in LibreOffice Calc, which supports COM.MICROSOFT.WEBSERVICE function to obtain data by URL. The application allows WEBSERVICE to take a local file URL (e.g file://) which can be used to inject local files into the spreadsheet without warning the user. Subsequent formulas can operate on that inserted data and construct a remote URL. A remote attacker can create a specially crafted document, trick the victim into opening it and use WEBSERVICE functionality to send arbitrary local files to the attacker's controlled server.
Affected software
LibreOffice
Debian Linux
Gentoo Linux
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power
SUSE Linux
Ubuntu
Fedora
Opensuse
libreoffice (Alpine package)
libreoffice
Debian Linux
Gentoo Linux
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power
SUSE Linux
Ubuntu
Fedora
Opensuse
libreoffice (Alpine package)
libreoffice
How to mitigate CVE-2018-6871,CVE-2018-1055
Update to version 5.4.5.1 or 6.0.1.1.
libreoffice (Alpine package) - update to 5.4.5.1-r0
libreoffice - addressed in versions 5.3.7.2-8.fc26, 5.4.5.1-1.fc27
libreoffice - addressed in versions 5.3.7.2-8.fc26, 5.4.5.1-1.fc27
Links to Public Exploits and PoC-codes
External References
Related Security Bulletins
- Arbitrary file disclosure in LibreOffice
- Debian update for libreoffice
- SUSE Linux update for libreoffice
- openSUSE update for libreoffice
- SUSE Linux update for libreoffice
- Gentoo update for LibreOffice
- Ubuntu update for LibreOffice
- Ubuntu update for LibreOffice
- Red Hat update for libreoffice
- Red Hat update for libreoffice
- Information disclosure in libreoffice (Alpine package)
- Fedora 26 update for libreoffice
- Fedora 27 update for libreoffice