Path Traversal in Libreoffice
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 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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.673 (99.3th percentile), scored .
High probability of exploitation in the next 30 days — patch promptly. 99th percentile — 99.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.662 · newest: 0.673 · change: +0.011
Affected products
- Libreoffice
- [Unknown] Libreoffice — versions 6.0.7, 6.1.3
Weakness classification (CWE)
Public proof-of-concept exploits
References
- www.libreoffice.org/about-us/security/advisories/cve-2018-16858/ (Vendor Advisory)
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- packetstormsecurity.com/files/152560/LibreOffice-Macro-Code-Execution.html (Exploit, VDB Entry, Third Party Advisory)
- www.rapid7.com/db/modules/exploit/multi/fileformat/libreoffice_macro_exec (Third Party Advisory)
- www.exploit-db.com/exploits/46727/ (Exploit, VDB Entry, Third Party Advisory, exploit)
- access.redhat.com/errata/RHSA-2019:2130 (vendor-advisory)
- seclists.org/bugtraq/2019/Aug/28 (mailing-list)
- lists.opensuse.org/opensuse-security-announce/2019-08/msg00059.html (vendor-advisory)
Frequently asked questions
- What is CVE-2018-16858?
- CVE-2018-16858 is a high-severity vulnerability in Libreoffice, classified under CWE-356. CVSS score: 7.8/10. Published 2019-03-25.
- How severe is CVE-2018-16858?
- High severity. CVSS v3 base score is 7.8 out of 10.
- Is CVE-2018-16858 known to be exploited?
- 12 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.