Public exploit available
Public proof-of-concept or exploit code exists (ExploitDB / Metasploit / Nuclei).
CVE-2018-16858 — Product UI does not Warn User of Unsafe Actions in Foundation Libreoffice
Severity
9.8CRITICALNVD
NVD7.8CNA7.8OSV7.8
EPSS
92.3%
top 0.27%
CISA KEV
Not in KEV
Exploit
PoC available
Public exploit / PoC exists
Affected products
Timeline
PublishedMar 25
Latest updateMay 24
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.
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9
Affected Packages6 packages
Also affects: Debian Linux 10.0, 8.0, 9.0, Fedora 29, Ubuntu Linux 16.04, 18.04, 19.04
🔴Vulnerability Details
7GHSA▶
GHSA-vgrf-j225-8963: LibreOffice has a feature where documents can specify that pre-installed macros can be executed on various script events such as mouse-over, document-↗2022-05-24
OSV▶
CVE-2019-9852: LibreOffice has a feature where documents can specify that pre-installed macros can be executed on various script events such as mouse-over, document-↗2019-08-15
💥Exploits & PoCs
3🔍Detection Rules
1📋Vendor Advisories
5Red Hat▶
libreoffice: Arbitrary python functions in arbitrary modules on the filesystem can be executed without warning↗2019-02-01
Debian▶
CVE-2019-9852: libreoffice - LibreOffice has a feature where documents can specify that pre-installed macros ...↗2019
Debian▶
CVE-2018-16858: libreoffice - It was found that libreoffice before versions 6.0.7 and 6.1.3 was vulnerable to ...↗2018
🕵️Threat Intelligence
2💬Community
3Bugzilla▶
CVE-2019-9852 libreoffice: Insufficient URL encoding flaw in allowed script location check↗2019-08-23
Bugzilla▶
CVE-2018-16858 libreoffice: Arbitrary python functions in arbitrary modules on the filesystem can be executed without warning [fedora-all]↗2019-02-03
Bugzilla▶
CVE-2018-16858 libreoffice: Arbitrary python functions in arbitrary modules on the filesystem can be executed without warning↗2018-11-14