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
| Product | Affected versions | Fixed 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
| Product | Affected versions | Fixed 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
- Debian Security Tracker CVE-2019-9852 vendor-advisory
- openSUSE-SU-2019:2057 mailing-list third-party-advisory vendor-advisory
- openSUSE-SU-2019:2183 mailing-list third-party-advisory vendor-advisory
- [debian-lts-announce] 20191006 [SECURITY] [DLA 1947-1] libreoffice security update mailing-list third-party-advisory
- FEDORA-2019-2fe22a3a2c vendor-advisory
- 20190815 [SECURITY] [DSA 4501-1] libreoffice security update issue-tracking mailing-list third-party-advisory
- 20190910 [SECURITY] [DSA 4519-1] libreoffice security update mailing-list third-party-advisory
- USN-4102-1 third-party-advisory vendor-advisory
- DSA-4501 third-party-advisory vendor-advisory
- www.libreoffice.org patch vendor-advisory
- security.alpinelinux.org vendor-advisory