Code Injection in LibreOffice - CVE-2019-9848

 

Code Injection in LibreOffice - CVE-2019-9848

Published: July 17, 2019 / Updated: June 17, 2021


Vulnerability identifier: #VU19223
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-9848
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

Vulnerability details

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

The vulnerability exists due to improper input validation in LibreLogo component, bundled with LibreOffice application. A remote attacker can create a specially crafted document, trick the victim into opening it and execute arbitrary python code on the target system without displaying any warnings.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

LibreOffice
Gentoo Linux
Arch Linux
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Server
Opensuse
Fedora
libreoffice (Debian package)
libreoffice (Red Hat package)
libreoffice (Alpine package)
libreoffice

How to mitigate CVE-2019-9848

Install updates from vendor's website.

LibreOffice - update to 6.2.5.1
libreoffice (Debian package) - update to 1:5.2.7-1+deb9u9
libreoffice (Red Hat package) - update to 5.3.6.1-24.el7
libreoffice (Alpine package) - addressed in versions 6.2.5.2-r0, 6.3.0.4-r0
libreoffice - addressed in versions 6.1.6.3-2.fc29, 6.1.6.3-3.fc29, 6.2.5.2-1.fc30

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins