Vulnerability Details : CVE-2019-9854
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.
Vulnerability category: Directory traversal
Exploit prediction scoring system (EPSS) score for CVE-2019-9854
Probability of exploitation activity in the next 30 days: 0.21%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 58 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2019-9854
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source |
---|---|---|---|---|---|
6.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:P |
8.6
|
6.4
|
NIST |
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST |
CWE ids for CVE-2019-9854
-
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.Assigned by: nvd@nist.gov (Primary)
References for CVE-2019-9854
-
https://www.libreoffice.org/about-us/security/advisories/CVE-2019-9854/
CVE-2019-9854 | LibreOffice - Free Office Suite - Fun Project - Fantastic PeopleVendor Advisory
-
http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00067.html
[security-announce] openSUSE-SU-2019:2183-1: moderate: Security update fThird Party Advisory
-
https://usn.ubuntu.com/4138-1/
USN-4138-1: LibreOffice vulnerability | Ubuntu security noticesThird Party Advisory
-
http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00055.html
[security-announce] openSUSE-SU-2019:2361-1: moderate: Security update fThird Party Advisory
-
https://www.debian.org/security/2019/dsa-4519
Debian -- Security Information -- DSA-4519-1 libreofficeThird Party Advisory
-
https://lists.debian.org/debian-lts-announce/2019/10/msg00005.html
[SECURITY] [DLA 1947-1] libreoffice security updateThird Party Advisory
-
https://seclists.org/bugtraq/2019/Sep/17
Bugtraq: [SECURITY] [DSA 4519-1] libreoffice security updateMailing List;Third Party Advisory
-
https://bugzilla.redhat.com/show_bug.cgi?id=1769907
1769907 – (CVE-2019-9854) CVE-2019-9854 libreoffice: unsafe URL assembly flaw in allowed script location checkThird Party Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XQKKOIY2DMZCXJINOLIQXD2NWISDKK3N/
[SECURITY] Fedora 29 Update: libreoffice-6.1.6.3-4.fc29 - package-announce - Fedora Mailing-ListsThird Party Advisory
Products affected by CVE-2019-9854
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*
- cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*
- cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
- cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:*
- cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:*