CVE-2019-9850 Insufficient url validation allowing LibreLogo script execution

Critical 9.8 Published Updated

Attackers can execute arbitrary Python code via LibreLogo by bypassing URL validation in LibreOffice script event handlers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-9850?

CVE-2019-9850 is a critical code injection vulnerability in Canonical Ubuntu Linux, published on 15 Aug 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

LibreOffice is typically bundled with LibreLogo, a programmable turtle vector graphics script, which can execute arbitrary python commands contained with the document it is launched from. LibreOffice also has a feature where documents can specify that pre-installed scripts can be executed on various document script events such as mouse-over, etc. Protection was added, to address CVE-2019-9848, to block calling LibreLogo from script event handers. However an insufficient url validation vulnerability in LibreOffice allowed malicious to bypass that protection and again trigger calling LibreLogo from script event handlers. This issue affects: Document Foundation LibreOffice versions prior to 6.2.6.

Weakness: CWE-20

Which versions are affected by CVE-2019-9850?

It affects 5 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Fedoraproject Fedora, Libreoffice Libreoffice, Opensuse Leap.

How do I fix CVE-2019-9850?

Upgrade to a fixed version.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2019-9850 being exploited?

There is no known exploitation of CVE-2019-9850 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2019-9850, GHSA-vq62-85wx-mmv3, UBUNTU-CVE-2019-9850.

Is CVE-2019-9850 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free