Vulnerabilities/CVE-2019-9852, published 15 August 2019

CVE-2019-9852: Canonical ubuntu linux path traversal vulnerability

Canonical, Ubuntu Linux

LibreOffice has a feature where documents can specify that pre-installed macros can be executed on various script events such as mouse-over, document-open etc. Access is intended to be restricted to scripts under the share/Scripts/python, user/Scripts/python sub-directories of the LibreOffice install. Protection was added, to address CVE-2018-16858, to avoid a directory traversal attack where scripts in arbitrary locations on the file system could be executed. However this new protection could be bypassed by a URL encoding attack. In the fixed versions, the parsed url describing the script location is correctly encoded before further processing. This issue affects: Document Foundation LibreOffice versions prior to 6.2.6.

  • 7.8 CVSS 3.1 High
  • EPSS 1.8%, top 21.4%
  • CWE-116, CWE-116
  • CWE-22, Path traversal

Description

LibreOffice has a feature where documents can specify that pre-installed macros can be executed on various script events such as mouse-over, document-open etc. Access is intended to be restricted to scripts under the share/Scripts/python, user/Scripts/python sub-directories of the LibreOffice install. Protection was added, to address CVE-2018-16858, to avoid a directory traversal attack where scripts in arbitrary locations on the file system could be executed. However this new protection could be bypassed by a URL encoding attack. In the fixed versions, the parsed url describing the script location is correctly encoded before further processing. This issue affects: Document Foundation LibreOffice versions prior to 6.2.6.

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

5 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00006.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00067.html Mailing ListThird Party Advisory
https://lists.debian.org/debian-lts-announce/2019/10/msg00005.html Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PMEGUWMWORC3DOVEHVXLFT3
https://seclists.org/bugtraq/2019/Aug/28 Issue TrackingMailing ListThird Party Advisory
https://seclists.org/bugtraq/2019/Sep/17 Mailing ListThird Party Advisory
https://usn.ubuntu.com/4102-1/ Third Party Advisory
https://www.debian.org/security/2019/dsa-4501 Third Party Advisory
https://www.libreoffice.org/about-us/security/advisories/CVE-2019-9852 PatchVendor Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00006.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00067.html Mailing ListThird Party Advisory
https://lists.debian.org/debian-lts-announce/2019/10/msg00005.html Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PMEGUWMWORC3DOVEHVXLFT3
https://seclists.org/bugtraq/2019/Aug/28 Issue TrackingMailing ListThird Party Advisory
https://seclists.org/bugtraq/2019/Sep/17 Mailing ListThird Party Advisory
https://usn.ubuntu.com/4102-1/ Third Party Advisory
https://www.debian.org/security/2019/dsa-4501 Third Party Advisory
https://www.libreoffice.org/about-us/security/advisories/CVE-2019-9852 PatchVendor Advisory

Track CVE-2019-9852 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

5.3CVE-2015-4902Oracle Java SE Deployment integrity check bypassCVE-2015-4902 is an unspecified vulnerability in the Deployment component of Oracle Java SE 6u101, 7u85, and 8u60. It allows remote attackers to affe…KEVEPSS 14%analysed10.0CVE-2024-5261Libreoffice improper certificate validation vulnerabilityImproper Certificate Validation vulnerability in LibreOffice "LibreOfficeKit" mode disables TLS certification verification LibreOfficeKit can be used…EPSS 0.43%10.0CVE-2015-7220Opensuse leap memory buffer overflow vulnerabilityBuffer overflow in the XDRBuffer::grow function in js/src/vm/Xdr.cpp in Mozilla Firefox before 43.0 might allow remote attackers to cause a denial of…EPSS 4.5%10.0CVE-2015-7205Fedoraproject fedora vulnerabilityInteger underflow in the RTPReceiverVideo::ParseRtpPacket function in Mozilla Firefox before 43.0 and Firefox ESR 38.x before 38.5 might allow remote…EPSS 3.2%10.0CVE-2015-7203Mozilla firefox memory buffer overflow vulnerabilityBuffer overflow in the DirectWriteFontInfo::LoadFontFamilyData function in gfx/thebes/gfxDWriteFontList.cpp in Mozilla Firefox before 43.0 might allo…EPSS 4.3%10.0CVE-2015-7202Mozilla firefox memory buffer overflow vulnerabilityMultiple unspecified vulnerabilities in the browser engine in Mozilla Firefox before 43.0 allow remote attackers to cause a denial of service (memory…EPSS 5.9%10.0CVE-2015-7201Fedoraproject fedora memory buffer overflow vulnerabilityMultiple unspecified vulnerabilities in the browser engine in Mozilla Firefox before 43.0 and Firefox ESR 38.x before 38.5 allow remote attackers to …EPSS 6.0%10.0CVE-2014-0247Fedoraproject fedora vulnerabilityLibreOffice 4.2.4 executes unspecified VBA macros automatically, which has unspecified impact and attack vectors, possibly related to doc/docmacromod…EPSS 3.9%

Source: NIST National Vulnerability Database (record CVE-2019-9852), CISA KEV, FIRST EPSS (scores of 2026-12-03). This page is refreshed as NVD updates the record.