CVE-2018-16858
LibreOffice Directory Traversal Macro Execution Vulnerability
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.
INFO
Published Date :
March 25, 2019, 6:29 p.m.
Last Modified :
Nov. 21, 2024, 3:53 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2018-16858 has a 9 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2018-16858
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Python implementation of CVE-2018-16858
Python
None
Python
A small collection of File converter vulnerability
Set of dockerfiles meant for throw-away instances that achieve a singular purpose: to "safely" interact (run, play, unzip, etc) with programs or files without the need of a full VM to avoid compromise of the host machine. Think of it as a bomb disposal device for files you don't trust that much but still need to run, unzip or play.
dockerfiles security sandboxing podman containerization container-security
Dockerfile
None
None
None
Python
CVE-2018-16858 exploit implementation
Ruby Shell
Valhalla API Client
CSS Makefile Python SCSS
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2018-16858
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2018-16858
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Oct. 09, 2019
Action Type Old Value New Value Added CVSS V3 Red Hat, Inc. AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Added CWE Red Hat, Inc. CWE-356 -
CVE Modified by [email protected]
Aug. 18, 2019
Action Type Old Value New Value Added Reference http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00059.html [No Types Assigned] -
CVE Modified by [email protected]
Aug. 16, 2019
Action Type Old Value New Value Added Reference https://seclists.org/bugtraq/2019/Aug/28 [No Types Assigned] -
CVE Modified by [email protected]
Aug. 06, 2019
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2019:2130 [No Types Assigned] -
Modified Analysis by [email protected]
Apr. 23, 2019
Action Type Old Value New Value Removed CVSS V2 Metadata Victim must voluntarily interact with attack mechanism Changed CVSS V2 (AV:N/AC:M/Au:N/C:P/I:P/A:P) (AV:N/AC:L/Au:N/C:P/I:P/A:P) Changed CVSS V3 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://www.exploit-db.com/exploits/46727/ No Types Assigned https://www.exploit-db.com/exploits/46727/ Exploit, Third Party Advisory, VDB Entry Changed Reference Type http://www.rapid7.com/db/modules/exploit/multi/fileformat/libreoffice_macro_exec No Types Assigned http://www.rapid7.com/db/modules/exploit/multi/fileformat/libreoffice_macro_exec Third Party Advisory Changed Reference Type http://packetstormsecurity.com/files/152560/LibreOffice-Macro-Code-Execution.html No Types Assigned http://packetstormsecurity.com/files/152560/LibreOffice-Macro-Code-Execution.html Exploit, Third Party Advisory, VDB Entry -
CVE Modified by [email protected]
Apr. 19, 2019
Action Type Old Value New Value Added Reference http://www.rapid7.com/db/modules/exploit/multi/fileformat/libreoffice_macro_exec [No Types Assigned] -
CVE Modified by [email protected]
Apr. 18, 2019
Action Type Old Value New Value Added Reference https://www.exploit-db.com/exploits/46727/ [No Types Assigned] -
CVE Modified by [email protected]
Apr. 18, 2019
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/152560/LibreOffice-Macro-Code-Execution.html [No Types Assigned] -
Initial Analysis by [email protected]
Mar. 27, 2019
Action Type Old Value New Value Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism Added CVSS V2 (AV:N/AC:M/Au:N/C:P/I:P/A:P) Added CVSS V3 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16858 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16858 Issue Tracking, Third Party Advisory Changed Reference Type https://www.libreoffice.org/about-us/security/advisories/cve-2018-16858/ No Types Assigned https://www.libreoffice.org/about-us/security/advisories/cve-2018-16858/ Vendor Advisory Added CWE CWE-22 Added CPE Configuration OR *cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:* versions up to (excluding) 6.0.7 *cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:* versions from (including) 6.1.0 up to (excluding) 6.1.3
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2018-16858
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2018-16858
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
95.96 }} -0.30%
score
0.99531
percentile