CVE-2018-16858
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...
- Published
- Mar 25, 2019
- Updated
- Aug 5, 2024
- Assigning CNA
- redhat
- Evidence observed
- Apr 18, 2019
Primary CVSS
nvd · CVSS 3.0
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HHigh · next 30 days
- Percentile
- 99.3%
- Model date
- Oct 13, 2026
EPSS is a statistical estimate, not a certainty or a measure of impact. Combine it with CVSS, KEV status, exposure and your environment.
Summary
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.
Sources
modules/exploits/multi/fileformat/libreoffice_macro_exec.rb
Metasploit Framework modulesDeclared conditions
- platform: Linux,Windows($.exploit_multi/fileformat/libreoffice_macro_exec.platform)
- verification: check_not_declared($.exploit_multi/fileformat/libreoffice_macro_exec.check)
- libreofficeExploit1Exploit
CVE-2018-16858 exploit implementation
Responsible use
Use vulnerability information only on systems you own or are authorized to test. Kitploit links to public research metadata and does not store exploit code or malicious payloads.