Unsafe URL assembly flaw in allowed script location check
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-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 prior to 6.2.7; 6.3 versions prior to 6.3.1.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
10- Range: >=6.0 <6.2.7, >=6.3 <6.3.1
- osv-coords8 versionspkg:rpm/opensuse/libreoffice&distro=openSUSE%20Leap%2015.0pkg:rpm/opensuse/libreoffice&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/libreoffice&distro=openSUSE%20Tumbleweedpkg:rpm/suse/libreoffice&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP4pkg:rpm/suse/libreoffice&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP4pkg:rpm/suse/libreoffice&distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2012%20SP4pkg:rpm/suse/libreoffice&distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2015pkg:rpm/suse/libreoffice&distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2015%20SP1
< 6.2.7.1-lp150.2.19.1+ 7 more
- (no CPE)range: < 6.2.7.1-lp150.2.19.1
- (no CPE)range: < 6.2.7.1-lp151.3.6.1
- (no CPE)range: < 7.1.5.2-3.13
- (no CPE)range: < 6.2.7.1-43.56.3
- (no CPE)range: < 6.2.7.1-43.56.3
- (no CPE)range: < 6.2.7.1-43.56.3
- (no CPE)range: < 6.2.7.1-3.24.4
- (no CPE)range: < 6.2.7.1-8.10.1
- Document Foundation/LibreOfficev5Range: 6.2
Patches
Vulnerability mechanics
References
8- lists.opensuse.org/opensuse-security-announce/2019-09/msg00067.htmlmitrevendor-advisoryx_refsource_SUSE
- lists.opensuse.org/opensuse-security-announce/2019-10/msg00055.htmlmitrevendor-advisoryx_refsource_SUSE
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XQKKOIY2DMZCXJINOLIQXD2NWISDKK3N/mitrevendor-advisoryx_refsource_FEDORA
- usn.ubuntu.com/4138-1/mitrevendor-advisoryx_refsource_UBUNTU
- www.debian.org/security/2019/dsa-4519mitrevendor-advisoryx_refsource_DEBIAN
- lists.debian.org/debian-lts-announce/2019/10/msg00005.htmlmitremailing-listx_refsource_MLIST
- seclists.org/bugtraq/2019/Sep/17mitremailing-listx_refsource_BUGTRAQ
- www.libreoffice.org/about-us/security/advisories/CVE-2019-9854/mitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.