Skip to content

CVE-2019-9852 Insufficient URL encoding flaw in allowed script location check

HighCVSS 7.8 EPSS 1.8%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
debian/libreoffice(Debian:12) < 1:6.3.0-1 1:6.3.0-1
debian/libreoffice(Debian:13) < 1:6.3.0-1 1:6.3.0-1
debian/libreoffice(Debian:14) < 1:6.3.0-1 1:6.3.0-1
Canonical Ubuntu Linux = 16.04 No fix listed
Canonical Ubuntu Linux = 18.04 No fix listed
Canonical Ubuntu Linux = 19.04 No fix listed
debian linux = 8.0 No fix listed
debian linux = 9.0 No fix listed
debian linux = 10.0 No fix listed
fedoraproject fedora = 29 No fix listed
openSUSE leap = 15.0 No fix listed
openSUSE leap = 15.1 No fix listed
libreoffice < 6.2.6 6.2.6
alpine/libreoffice(Alpine:v3.10) < 6.2.6.2-r0 6.2.6.2-r0
alpine/libreoffice(Alpine:v3.11) < 6.3.0.4-r0 6.3.0.4-r0
alpine/libreoffice(Alpine:v3.12) < 6.3.0.4-r0 6.3.0.4-r0
alpine/libreoffice(Alpine:v3.13) < 6.3.0.4-r0 6.3.0.4-r0
alpine/libreoffice(Alpine:v3.14) < 6.3.0.4-r0 6.3.0.4-r0
alpine/libreoffice(Alpine:v3.15) < 6.3.0.4-r0 6.3.0.4-r0
alpine/libreoffice(Alpine:v3.16) < 6.3.0.4-r0 6.3.0.4-r0
alpine/libreoffice(Alpine:v3.17) < 6.3.0.4-r0 6.3.0.4-r0
alpine/libreoffice(Alpine:v3.18) < 6.3.0.4-r0 6.3.0.4-r0
alpine/libreoffice(Alpine:v3.19) < 6.3.0.4-r0 6.3.0.4-r0
alpine/libreoffice(Alpine:v3.20) < 6.3.0.4-r0 6.3.0.4-r0
alpine/libreoffice(Alpine:v3.21) < 6.3.0.4-r0 6.3.0.4-r0
Show 4 more
ProductAffected versionsFixed in
alpine/libreoffice(Alpine:v3.22) < 6.3.0.4-r0 6.3.0.4-r0
alpine/libreoffice(Alpine:v3.23) < 6.3.0.4-r0 6.3.0.4-r0
alpine/libreoffice(Alpine:v3.24) < 6.3.0.4-r0 6.3.0.4-r0
Document Foundation LibreOffice < 6.2.6 6.2.6

References