7.8

CVE-2019-9854: Unsafe URL assembly flaw in allowed script location check

Modified
AliasesUBUNTU-CVE-2019-9854USN-4138-1DEBIAN-CVE-2019-9854
Published 06-09-2019Last modified 16-09-2024

Vulnerability summary

CVE-2019-9854 is a high (CVSS 7.8) vulnerability in canonical ubuntu_linux. EPSS estimates a 1.76% chance of exploitation in the next 30 days, higher than 78.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
1.76%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 10 · Related 6

Timeline

  1. 06-09-2019
    PublishedVulnerability first disclosed.
  2. 16-09-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

1.76%

Chance of exploitation in the next 30 days

Percentile

79%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.76% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Debian2 products
  • libreoffice< 1:6.3.1~rc2-1 | < 1:5.2.7-1+deb9u11 | < 1:6.1.5-3+deb10u4
  • debian_linuxEOL8.0 | 9.0 | 10.0
Alpine1 product
  • libreoffice≥ 6.2.0, < 6.3.1.2-r0 | ≥ 6.2.0, < 6.2.7.1-r0 | ≥ 6.3.0, < 6.3.1.2-r0
Canonical1 product
Document foundation1 product
Fedoraproject1 product
Libreoffice1 product
Opensuse1 product
Redhat1 product
Ubuntu1 product
  • libreoffice< 1:5.1.6~rc2-0ubuntu1~xenial10 | < 1:6.0.7-0ubuntu0.18.04.10

9 vendors · 10 products

References

14 links
Show all 14 references