CVE-2019-9852

Insufficient URL encoding flaw in allowed script location check

HIGH
7.8
CVSS Score
Published: August 15, 2019 at 09:40 PM UTC
Updated: June 17, 2026 at 02:44 AM UTC
6 products affected across 6 vendorsDebian LinuxFedoraUbuntu Linux

Using LibreOffice by Document Foundation?

Get instant alerts when new vulnerabilities affect LibreOffice - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.2.6
Affected range stops below 6.2.6, so it looks safe — our inference, not a vendor statement
v < 6.2.6
Affected range stops below 6.2.6, so it looks safe — our inference, not a vendor statement

References (9)

Vendor Advisoryx_refsource_SUSEMailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00006.html
Vendor Advisoryx_refsource_SUSEMailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00067.html
Mailing Listx_refsource_MLISTThird Party Advisory
https://lists.debian.org/debian-lts-announce/2019/10/msg00005.html
Mailing Listx_refsource_BUGTRAQIssue TrackingThird Party Advisory
https://seclists.org/bugtraq/2019/Aug/28
Mailing Listx_refsource_BUGTRAQThird Party Advisory
https://seclists.org/bugtraq/2019/Sep/17
Vendor Advisoryx_refsource_UBUNTUThird Party Advisory
https://usn.ubuntu.com/4102-1/
Vendor Advisoryx_refsource_DEBIANThird Party Advisory
https://www.debian.org/security/2019/dsa-4501

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-116CWE-22

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card