National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2018-16858 Detail

Current 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.

Source:  MITRE
View Analysis Description

Severity



CVSS 3.x Severity and Metrics:

NIST CVSS score
NIST: NVD
Base Score: 9.8 CRITICAL
Vector:  CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Nist CVSS score does not match with CNA score
CNA:  Red Hat, Inc.
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

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00059.html
http://packetstormsecurity.com/files/152560/LibreOffice-Macro-Code-Execution.html Exploit Third Party Advisory VDB Entry
http://www.rapid7.com/db/modules/exploit/multi/fileformat/libreoffice_macro_exec Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:2130
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16858 Issue Tracking Third Party Advisory
https://seclists.org/bugtraq/2019/Aug/28
https://www.exploit-db.com/exploits/46727/ Exploit Third Party Advisory VDB Entry
https://www.libreoffice.org/about-us/security/advisories/cve-2018-16858/ Vendor Advisory

Weakness Enumeration

CWE-ID CWE Name Source
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') NIST  
CWE-356 Product UI does not Warn User of Unsafe Actions Red Hat, Inc.  

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (excluding)
6.0.7
 cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
From (including)
6.1.0
Up to (excluding)
6.1.3


Change History

9 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2018-16858
NVD Published Date:
03/25/2019
NVD Last Modified:
08/06/2019