Path traversal in LibreOffice - CVE-2019-9852

 

Path traversal in LibreOffice - CVE-2019-9852

Published: September 4, 2019


Vulnerability identifier: #VU20861
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-9852
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary commands on the target system.

The vulnerability exists due to insufficient URL encoding in script location checks. A remote attacker can by persuade a user to open a specially crafted document and execute preinstalled macros on the target system.


Affected software

LibreOffice
libreoffice (Debian package)
libreoffice (Red Hat package)
libreoffice (Alpine package)
libreoffice
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for x86_64
Red Hat CodeReady Linux Builder for x86_64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for ARM 64
Opensuse
Fedora

How to mitigate CVE-2019-9852

Install updates from vendor's website.

LibreOffice - update to 6.2.6
libreoffice (Debian package) - addressed in versions 1:5.2.7-1+deb9u10, 1:6.1.5-3+deb10u3
libreoffice (Red Hat package) - addressed in versions 5.3.6.1-24.el7, 6.0.6.1-20.el8
libreoffice (Alpine package) - update to 6.2.6.2-r0
libreoffice - addressed in versions 6.1.6.3-3.fc29, 6.2.6.2-1.fc30

External References

Related Security Bulletins