{"id":"CVE-2018-16858","state":"PUBLISHED","title":"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","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.","publishedAt":"2019-03-25T17:43:08.000Z","updatedAt":"2024-08-05T10:32:54.146Z","severity":{"score":7.8,"label":"High","version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"redhat"},"assigner":"redhat","products":["[UNKNOWN] libreoffice"],"affected":[{"vendor":"[UNKNOWN]","product":"libreoffice","versions":[{"version":"6.0.7","status":"affected"},{"version":"6.1.3","status":"affected"}]}],"references":["https://www.libreoffice.org/about-us/security/advisories/cve-2018-16858/","https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16858","http://packetstormsecurity.com/files/152560/LibreOffice-Macro-Code-Execution.html","http://www.rapid7.com/db/modules/exploit/multi/fileformat/libreoffice_macro_exec","https://www.exploit-db.com/exploits/46727/","https://access.redhat.com/errata/RHSA-2019:2130","https://seclists.org/bugtraq/2019/Aug/28","http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00059.html"],"weaknesses":["CWE-356"],"ingestedAt":"2026-10-29T19:44:25.237Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/16xxx/CVE-2018-16858.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-16858","state":"PUBLISHED","datePublished":"2019-03-25T17:43:08.000Z","dateUpdated":"2024-08-05T10:32:54.146Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2018-09-11T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"[UNKNOWN]","product":"libreoffice","versions":[{"version":"6.0.7","status":"affected"},{"version":"6.1.3","status":"affected"}]}],"references":[{"url":"https://www.libreoffice.org/about-us/security/advisories/cve-2018-16858/","tags":["x_refsource_MISC"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16858","tags":["x_refsource_CONFIRM"]},{"url":"http://packetstormsecurity.com/files/152560/LibreOffice-Macro-Code-Execution.html","tags":["x_refsource_MISC"]},{"url":"http://www.rapid7.com/db/modules/exploit/multi/fileformat/libreoffice_macro_exec","tags":["x_refsource_MISC"]},{"url":"https://www.exploit-db.com/exploits/46727/","name":"46727","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2130","name":"RHSA-2019:2130","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://seclists.org/bugtraq/2019/Aug/28","name":"20190815 [SECURITY] [DSA 4501-1] libreoffice security update","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00059.html","name":"openSUSE-SU-2019:1929","tags":["vendor-advisory","x_refsource_SUSE"]}],"metrics":[{"cvssV3_0":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-356","description":"CWE-356","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2019-08-18T15:06:07.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2018-16858","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"libreoffice","version":{"version_data":[{"version_value":"6.0.7"},{"version_value":"6.1.3"}]}}]},"vendor_name":"[UNKNOWN]"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":[[{"vectorString":"7.8/CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0"}]]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-356"}]}]},"references":{"reference_data":[{"name":"https://www.libreoffice.org/about-us/security/advisories/cve-2018-16858/","refsource":"MISC","url":"https://www.libreoffice.org/about-us/security/advisories/cve-2018-16858/"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16858","refsource":"CONFIRM","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16858"},{"name":"http://packetstormsecurity.com/files/152560/LibreOffice-Macro-Code-Execution.html","refsource":"MISC","url":"http://packetstormsecurity.com/files/152560/LibreOffice-Macro-Code-Execution.html"},{"name":"http://www.rapid7.com/db/modules/exploit/multi/fileformat/libreoffice_macro_exec","refsource":"MISC","url":"http://www.rapid7.com/db/modules/exploit/multi/fileformat/libreoffice_macro_exec"},{"name":"46727","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/46727/"},{"name":"RHSA-2019:2130","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2019:2130"},{"name":"20190815 [SECURITY] [DSA 4501-1] libreoffice security update","refsource":"BUGTRAQ","url":"https://seclists.org/bugtraq/2019/Aug/28"},{"name":"openSUSE-SU-2019:1929","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00059.html"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.libreoffice.org/about-us/security/advisories/cve-2018-16858/","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16858","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://packetstormsecurity.com/files/152560/LibreOffice-Macro-Code-Execution.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.rapid7.com/db/modules/exploit/multi/fileformat/libreoffice_macro_exec","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.exploit-db.com/exploits/46727/","name":"46727","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2130","name":"RHSA-2019:2130","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://seclists.org/bugtraq/2019/Aug/28","name":"20190815 [SECURITY] [DSA 4501-1] libreoffice security update","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00059.html","name":"openSUSE-SU-2019:1929","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T10:32:54.146Z"}}]}}}