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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Libreoffice | Libreoffice | < 6.0.7 |
Related Weaknesses (CWE)
References
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00059.html
- http://packetstormsecurity.com/files/152560/LibreOffice-Macro-Code-Execution.htmExploitThird Party AdvisoryVDB Entry
- http://www.rapid7.com/db/modules/exploit/multi/fileformat/libreoffice_macro_execThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:2130
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16858Issue TrackingThird Party Advisory
- https://seclists.org/bugtraq/2019/Aug/28
- https://www.exploit-db.com/exploits/46727/ExploitThird Party AdvisoryVDB Entry
- https://www.libreoffice.org/about-us/security/advisories/cve-2018-16858/Vendor Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00059.html
- http://packetstormsecurity.com/files/152560/LibreOffice-Macro-Code-Execution.htmExploitThird Party AdvisoryVDB Entry
- http://www.rapid7.com/db/modules/exploit/multi/fileformat/libreoffice_macro_execThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:2130
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16858Issue TrackingThird Party Advisory
- https://seclists.org/bugtraq/2019/Aug/28
- https://www.exploit-db.com/exploits/46727/ExploitThird Party AdvisoryVDB Entry
FAQ
What is CVE-2018-16858?
CVE-2018-16858 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 ...
How severe is CVE-2018-16858?
CVE-2018-16858 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-16858?
Check the references section above for vendor advisories and patch information. Affected products include: Libreoffice Libreoffice.