6.8
CVSSv2

CVE-2019-9854

Published: 06/09/2019 Updated: 07/11/2023
CVSS v2 Base Score: 6.8 | Impact Score: 6.4 | Exploitability Score: 8.6
CVSS v3 Base Score: 7.8 | Impact Score: 5.9 | Exploitability Score: 1.8
VMScore: 605
Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P

Vulnerability Summary

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-2019-9852, to avoid a directory traversal attack where scripts in arbitrary locations on the file system could be executed by employing a URL encoding attack to defeat the path verification step. However this protection could be bypassed by taking advantage of a flaw in how LibreOffice assembled the final script URL location directly from components of the passed in path as opposed to solely from the sanitized output of the path verification step. This issue affects: Document Foundation LibreOffice 6.2 versions before 6.2.7; 6.3 versions before 6.3.1.

Vulnerability Trend

Vulnerable Product Search on Vulmon Subscribe to Product

libreoffice libreoffice

redhat enterprise linux 7.0

debian debian linux 8.0

canonical ubuntu linux 16.04

debian debian linux 9.0

debian debian linux 10.0

canonical ubuntu linux 18.04

opensuse leap 15.0

canonical ubuntu linux 19.04

fedoraproject fedora 29

redhat enterprise linux 8.0

opensuse leap 15.1

Vendor Advisories

LibreOffice could be made to run programs as your login if it opened a specially crafted file ...
It was discovered that the code fixes for LibreOffice to address CVE-2019-9852 were not complete Additional information can be found at wwwlibreofficeorg/about-us/security/advisories/CVE-2019-9854/ For the oldstable distribution (stretch), this problem has been fixed in version 1:527-1+deb9u11 For the stable distribution (buster), th ...
LibreOffice has a feature where documents can specify that pre-installed scripts can be executed on various document events such as mouse-over, etc LibreOffice is typically also bundled with LibreLogo, a programmable turtle vector graphics script, which can be manipulated into executing arbitrary python commands By using the document event featur ...