Monday, April 28, 2025
HomeComputer SecurityA New Critical RCE Vulnerability in LibreOffice that Exploit Windows & Linux...

A New Critical RCE Vulnerability in LibreOffice that Exploit Windows & Linux Systems

Published on

SIEM as a Service

Follow Us on Google News

The researcher found new Remote code execution vulnerability in widely used LibreOffice that allows attackers to exploit the arbitrary code in Windows and Linux Platform.

LibreOffice is a free and open-source office suite which is developed by The Document Foundation and it is a widely used office suite for both individuals and the corporate environment.

LibreOffice can be deployed in both Linux and Windows system and the vulnerability has been affected both environments that allow attackers to run malicious orbitary code in order to gain the admin privilege.

- Advertisement - Google News

In this case, the remote code can be exploited when a user opens a malicious ODT file and moves his mouse over the document and the crafted file will be executed without any warning dialog.

LibreOffice Vulnerability Details

Researcher started to analyze the file based on the file format that explained in OpenDocument-v1.2-part1  by creating the ODT files in order the create a correct file format that supports LibreOffice.

He chooses the on mouseover event and installed the python sample script in Macro and saved the file.

LibreOffice

Here mentioned that “This looked like it is loading a file from the local file system and that assumption is true (the path shown is for Windows but it is present for Linux as well): C:\Program Files\LibreOffice\share\Scripts\python\pythonSamples\TableSample.py “.

Later when opened that created ODT file and moved the mouse over the link which give the result that the python file was executed without any warning dialog.

Security Researcher Alex provide a proof of concept video where he demonstrated severe remote code execution (RCE) vulnerability exploitation.

In this Video demonstration, he changes the malicious hyperlink to a white color that increase the chance a user moves his mouse over the link and executing the payload.

Also, Alex said ” The idea was to abuse the path traversal to traverse down into the user’s Download directory and load the ODT file as a python script (ergo creating a polyglot file, which is a python file + a working ODT file). Sadly this was a dead end as well as LibreOffice does not like any data before the ODT Zip header.”

This Path Traversal Vulnerability reported to the Libre Office and the CVE-2018-16858 was assigned by Redhat.

6.0.7/6.1.3 LibreOffice was vulnerable to a directory traversal attack where it was possible to craft a document when opened by LibreOffice and New LibreOffice: 6.1.4. released with fixes for this vulnerability.

You can follow us on LinkedinTwitterFacebook for daily Cybersecurity updates also you can take the Best Cybersecurity courses online to keep your self-updated.

Also Read:

Pentesting Windows Using Microsoft Office DDE Exploit (MACROLESS)

New Phishing Attack Taking Advantages of Vulnerability in Office 365 to Bypass all of Microsoft’s Security

Hackers Exploiting Adobe Flash Zero-Day that Launching via a Microsoft Office Document

Balaji
Balaji
BALAJI is an Ex-Security Researcher (Threat Research Labs) at Comodo Cybersecurity. Editor-in-Chief & Co-Founder - Cyber Security News & GBHackers On Security.

Latest articles

RansomHub Ransomware Deploys Malware to Breach Corporate Networks

The eSentire’s Threat Response Unit (TRU) in early March 2025, a sophisticated cyberattack leveraging...

19 APT Hackers Target Asia-based Company Servers Using Exploited Vulnerabilities and Spear Phishing Email

The NSFOCUS Fuying Laboratory’s global threat hunting system identified 19 sophisticated Advanced Persistent Threat...

FBI Reports ₹1.38 Lakh Crore Loss in 2024, a 33% Surge from 2023

The FBI’s Internet Crime Complaint Center (IC3) has reported a record-breaking loss of $16.6...

Fog Ransomware Reveals Active Directory Exploitation Tools and Scripts

Cybersecurity researchers from The DFIR Report’s Threat Intel Group uncovered an open directory hosted...

Resilience at Scale

Why Application Security is Non-Negotiable

The resilience of your digital infrastructure directly impacts your ability to scale. And yet, application security remains a critical weak link for most organizations.

Application Security is no longer just a defensive play—it’s the cornerstone of cyber resilience and sustainable growth. In this webinar, Karthik Krishnamoorthy (CTO of Indusface) and Phani Deepak Akella (VP of Marketing – Indusface), will share how AI-powered application security can help organizations build resilience by

Discussion points


Protecting at internet scale using AI and behavioral-based DDoS & bot mitigation.
Autonomously discovering external assets and remediating vulnerabilities within 72 hours, enabling secure, confident scaling.
Ensuring 100% application availability through platforms architected for failure resilience.
Eliminating silos with real-time correlation between attack surface and active threats for rapid, accurate mitigation

More like this

SAP NetWeaver 0-Day Flaw Actively Exploited to Deploy Webshells

SAP disclosed a critical zero-day vulnerability, identified as CVE-2025-31324, in its NetWeaver Visual Composer component. This...

Windows 11 25H2 Expected to Launch with Minor Changes

Microsoft is quietly preparing the next update to its flagship operating system, Windows 11 25H2,...

China Claims U.S. Cyberattack Targeted Leading Encryption Company

China has accused U.S. intelligence agencies of carrying out a sophisticated cyberattack against one...