CVE-2018-16858
Last modified
CVE-2018-16858 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 67.55% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Libreoffice | Libreoffice | < 6.0.7 |
| Libreoffice | Libreoffice | >= 6.1.0, < 6.1.3 |
References
- http://packetstormsecurity.com/files/152560/LibreOffice-Macro-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- http://www.rapid7.com/db/modules/exploit/multi/fileformat/libreoffice_macro_execThird Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16858Issue Tracking, Third Party Advisory
- https://www.exploit-db.com/exploits/46727/Exploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/152560/LibreOffice-Macro-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- http://www.rapid7.com/db/modules/exploit/multi/fileformat/libreoffice_macro_execThird Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16858Issue Tracking, Third Party Advisory
- https://www.exploit-db.com/exploits/46727/Exploit, Third Party Advisory, VDB Entry
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-16858?
How severe is CVE-2018-16858?
How do I fix CVE-2018-16858?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2018
- CVE-2018-16852Samba from version 4.9.0 and before version 4.9.3 is vulnera…6.5
- CVE-2018-16853Samba from version 4.7.0 has a vulnerability that allows a u…7.5
- CVE-2018-16854A flaw was found in moodle versions 3.5 to 3.5.2, 3.4 to 3.4…6.5
- CVE-2018-16855An issue has been found in PowerDNS Recursor before version …7.5
- CVE-2018-16856In a default Red Hat Openstack Platform Director installatio…5.5
- CVE-2018-16857Samba from version 4.9.0 and before version 4.9.3 that have …7.4
- CVE-2018-16859Execution of Ansible playbooks on Windows platforms with Pow…4.2
- CVE-2018-1686IBM Maximo Asset Management 7.6 through 7.6.3 is vulnerable …5.4
- CVE-2018-16860A flaw was found in samba's Heimdal KDC implementation, vers…7.5
- CVE-2018-16861A cross-site scripting (XSS) flaw was found in the foreman c…7.6
- CVE-2018-16862A security flaw was found in the Linux kernel in a way that …5.3
- CVE-2018-16863It was found that RHSA-2018:2918 did not fully fix CVE-2018-…7.3
Are you affected by CVE-2018-16858?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
