CVE-2018-16858 EXPLOIT
7.8
HIGH · CVSS 3.0 · EPSS 67.3% (pctl 99)
Patch early
A public exploit exists.
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.
Scoring
| CVSS | 7.8 (HIGH, v3.0) |
|---|---|
| Vector | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| EPSS | 67.32% — more likely to be exploited than 99% of all CVEs |
| Weakness | CWE-356 |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2019-03-25 |
| Last modified | 2026-06-17 |
Affected (1)
| Vendor | Product |
|---|---|
| libreoffice | libreoffice |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | LibreOffice < 6.0.7 / 6.1.3 - Macro Code Execution (Metasploit) | 2019-04-18 |
References
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00059.html
- http://packetstormsecurity.com/files/152560/LibreOffice-Macro-Code-Execution.html
- http://www.rapid7.com/db/modules/exploit/multi/fileformat/libreoffice_macro_exec
- https://access.redhat.com/errata/RHSA-2019:2130
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16858
- https://seclists.org/bugtraq/2019/Aug/28
- https://www.exploit-db.com/exploits/46727/
- https://www.libreoffice.org/about-us/security/advisories/cve-2018-16858/
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00059.html
- http://packetstormsecurity.com/files/152560/LibreOffice-Macro-Code-Execution.html
- http://www.rapid7.com/db/modules/exploit/multi/fileformat/libreoffice_macro_exec
- https://access.redhat.com/errata/RHSA-2019:2130
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16858
- https://seclists.org/bugtraq/2019/Aug/28
- https://www.exploit-db.com/exploits/46727/
- https://www.libreoffice.org/about-us/security/advisories/cve-2018-16858/
→ the Explorer · watch your stack · NVD