A Vulnerability in LibreOffice Could Allow for Arbitrary Command Execution

ITS Advisory Number: 
2019-100
Date(s) Issued: 
Friday, September 27, 2019
Subject: 
A Vulnerability in LibreOffice Could Allow for Arbitrary Command Execution
Overview: 

A vulnerability has been discovered in LibreOffice, which could allow for arbitrary command execution. LibreOffice is an open-source office suite providing word processing, slides, and spreadsheets. Successful exploitation of this vulnerability will enable the attacker to perform command execution in the context of the user running the affected application. Depending on the privileges associated with the user, an attacker could then install programs; view, change, or delete data; or create new accounts with full user rights.

 

THREAT INTELLIGENCE:

There is proof-of-concept code available for this vulnerability.

 

Systems Affected: 
  • LibreOffice 6.2 versions prior to 6.2.7
  • LibreOffice 6.3 versions prior to 6.3.1
RISK
GOVERNMENT
Large and medium government entities: 
High
Small government entities: 
Medium
BUSINESS
Large and medium business entities: 
High
Small business entities: 
Medium
Home Users: 
Low
Description: 

A vulnerability has been discovered in LibreOffice, which could allow for arbitrary command execution. LibreOffice is typically bundled with LibreLogo, a programmable turtle vector graphics script, which can execute arbitrary python commands contained within the document it is launched from. Protection was added to block calling LibreLogo from script event handlers, however a Windows 8.3 path equivalence handling flaw left LibreOffice vulnerable to documents executing LibreLogo via a Windows filename pseudonym. Successful exploitation of this vulnerability will enable the attacker to perform command execution in the context of the user running the affected application. Depending on the privileges associated with the user, an attacker could then install programs; view, change, or delete data; or create new accounts with full user rights.

Actions: 
  • After appropriate testing, immediately apply patches or appropriate mitigations provided by LibreOffice to vulnerable systems.
  • Run all software as a non-privileged user (one without administrative rights) to diminish the effects of a successful attack.
  • Remind all users not to visit untrusted websites or follow links provided by unknown or untrusted sources.
  • Inform and educate users regarding threats posed by hypertext links contained in emails or attachments especially from untrusted sources.
  • Apply the Principle of Least Privilege to all systems and services.