Skip to content
OpenAdvisories
High · 7.8 Public exploit CVE-2018-16858 EUVD-2018-8650GHSA-v39m-j232-p3qr

It was found that libreoffice before versions 6.0.7 and 6.1.3 was vulnerable to a directory traversal attack which could be used to execute…

Published Mar 25, 2019 · Updated Aug 5, 2024 · Assigned by redhat

Description

It was found that libreoffice before versions 6.0.7 and 6.1.3 was vulnerable to a directory traversal attack which could be used to execute arbitrary macros bundled with a document. An attacker could craft a document, which when opened by LibreOffice, would execute a Python method from a script in any arbitrary file system location, specified relative to the LibreOffice install location.

Affected products

VendorProductAffectedFixed
[UNKNOWN] libreoffice 6.0.7, 6.1.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libreoffice 1:6.1.3-1 —
Debian 13 libreoffice 1:6.1.3-1 —
Debian 12 libreoffice 1:6.1.3-1 —
Debian 9 libreoffice 1:5.2.7-1+deb9u5 DSA-4381-1
Debian 8 libreoffice 1:4.3.3-2+deb8u12 DLA-1669-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS libreoffice 1:5.1.6~rc2-0ubuntu1~xenial6 USN-3883-1
Ubuntu 14.04 LTS libreoffice 1:4.2.8-0ubuntu5.5 USN-3883-1
ReleasePackageFixed inAdvisory
RHEL 7 autocorr-af +180 1:5.3.6.1-21.el7 RHSA-2019:2130
ReleasePackageFixed inAdvisory
SLES 15 SP1 libixion 0.14.1-4.3.8 SUSE-SU-2019:1894-1
SLES 15 SP1 liborcus 0.14.1-3.3.8 SUSE-SU-2019:1894-1
SLES 15 SP1 libreoffice 6.2.5.2-8.5.1 SUSE-SU-2019:2003-1
SLES 15 SP1 libwps 0.4.10-7.3.3 SUSE-SU-2019:2003-1
SLES 15 SP1 myspell-dictionaries 20190423-3.9.7 SUSE-SU-2019:1894-1
SLES 15 libixion 0.14.1-4.3.8 SUSE-SU-2019:1894-1
SLES 15 liborcus 0.14.1-3.3.8 SUSE-SU-2019:1894-1
SLES 15 libreoffice 6.2.5.2-3.18.5 SUSE-SU-2019:1894-1
SLES 15 libwps 0.4.10-3.6.7 SUSE-SU-2019:1894-1
SLES 15 myspell-dictionaries 20190423-3.9.7 SUSE-SU-2019:1894-1
SLES 12 SP4 libixion 0.14.1-13.9.2 SUSE-SU-2019:1448-1
SLES 12 SP4 liborcus 0.14.1-10.12.2 SUSE-SU-2019:1448-1
SLES 12 SP4 libreoffice 6.2.3.2-43.49.1 SUSE-SU-2019:1448-1
SLES 12 SP4 libwps 0.4.10-10.13.2 SUSE-SU-2019:1448-1
SLES 12 SP4 myspell-dictionaries 20190423-16.18.1 SUSE-SU-2019:1448-1
SLES 12 SP3 libixion 0.14.1-13.9.2 SUSE-SU-2019:1448-1
SLES 12 SP3 liborcus 0.14.1-10.12.2 SUSE-SU-2019:1448-1
SLES 12 SP3 libreoffice 6.2.3.2-43.49.1 SUSE-SU-2019:1448-1
SLES 12 SP3 libwps 0.4.10-10.13.2 SUSE-SU-2019:1448-1
SLES 12 SP3 myspell-dictionaries 20190423-16.18.1 SUSE-SU-2019:1448-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libreoffice 7.1.5.2-3.13 openSUSE-SU-2024:10983-1
openSUSE Leap 15.1 libixion 0.14.1-lp151.4.3.1 openSUSE-SU-2019:1929-1
openSUSE Leap 15.1 liborcus 0.14.1-lp151.3.3.1 openSUSE-SU-2019:1929-1
openSUSE Leap 15.1 libreoffice 6.2.5.2-lp151.3.3.4 openSUSE-SU-2019:1929-1
openSUSE Leap 15.1 libwps 0.4.10-lp151.2.3.1 openSUSE-SU-2019:1929-1
openSUSE Leap 15.1 mdds-1_4 1.4.3-lp151.2.1 openSUSE-SU-2019:1929-1
openSUSE Leap 15.1 myspell-dictionaries 20190423-lp151.2.3.1 openSUSE-SU-2019:1929-1
openSUSE Leap 15.0 libixion 0.14.1-lp151.4.3.1 openSUSE-SU-2019:1929-1
openSUSE Leap 15.0 liborcus 0.14.1-lp151.3.3.1 openSUSE-SU-2019:1929-1
openSUSE Leap 15.0 libreoffice 6.2.5.2-lp151.3.3.4 openSUSE-SU-2019:1929-1
openSUSE Leap 15.0 libwps 0.4.10-lp151.2.3.1 openSUSE-SU-2019:1929-1
openSUSE Leap 15.0 mdds-1_4 1.4.3-lp151.2.1 openSUSE-SU-2019:1929-1
openSUSE Leap 15.0 myspell-dictionaries 20190423-lp151.2.3.1 openSUSE-SU-2019:1929-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 autocorr-af +180 1:5.3.6.1-21.0.1.el7 ELSA-2019-2130

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Exploit-DB 1

GitHub 4 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 11

References