{"id":"CVE-2019-9852","published":"2019-08-15T21:40:18Z","modified":"2024-09-17T03:42:47Z","title":"Insufficient URL encoding flaw in allowed script location check","vendor":"Document Foundation","product":"LibreOffice","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01752,"percentile":0.77729,"provenance":"source"},"cwes":[{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"references":[{"url":"https://www.libreoffice.org/about-us/security/advisories/CVE-2019-9852","tags":["x_refsource_MISC"]},{"url":"https://seclists.org/bugtraq/2019/Aug/28","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://www.debian.org/security/2019/dsa-4501","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PMEGUWMWORC3DOVEHVXLFT3A5RSCMLBH/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://usn.ubuntu.com/4102-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00006.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://seclists.org/bugtraq/2019/Sep/17","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00067.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/10/msg00005.html","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":15.55}]},"vendorSlug":"document-foundation","affectedVersions":[{"vendor":"Document Foundation","product":"LibreOffice","versions":[">= unspecified, < 6.2.6"]}],"euvd":{"id":"EUVD-2019-19208","exploited":false,"provenance":"source"}}