CVE-2018-16858
HIGHLibreOffice Macro Python Code Execution
Title source: metasploitDescription
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.
Exploits (6)
exploitdb
WORKING POC
VERIFIED
by Metasploit · rubylocalmultiple
https://www.exploit-db.com/exploits/46727
nomisec
WORKING POC
1 stars
by Henryisnotavailable · poc
https://github.com/Henryisnotavailable/CVE-2018-16858-Python
metasploit
WORKING POC
NORMAL
by Alex Inführ, Shelby Pace · rubypocwin
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/fileformat/libreoffice_macro_exec.rb
References (8)
Scores
CVSS v3
7.8
EPSS
0.9234
EPSS Percentile
99.7%
Attack Vector
LOCAL
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Details
CWE
CWE-22
CWE-356
Status
published
Products (1)
libreoffice/libreoffice
< 6.0.7
Published
Mar 25, 2019
Tracked Since
Feb 18, 2026