CVE-2019-9854
published 2019-09-06CVE-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…
PriorityP340high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
1.93%
77.8th percentile
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.
Affected
18 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | libreoffice | < libreoffice 1:6.3.1~rc2-1 (bookworm) | libreoffice 1:6.3.1~rc2-1 (bookworm) |
| fedoraproject | fedora | — | — |
| libreoffice | libreoffice | >= 0 < 1:6.3.1~rc2-1 | 1:6.3.1~rc2-1 |
| libreoffice | libreoffice | >= 0 < 1:6.3.1~rc2-1 | 1:6.3.1~rc2-1 |
| libreoffice | libreoffice | >= 0 < 1:6.3.1~rc2-1 | 1:6.3.1~rc2-1 |
| libreoffice | libreoffice | >= 0 < 1:6.3.1~rc2-1 | 1:6.3.1~rc2-1 |
| libreoffice | libreoffice | >= 6.2.0 < 6.2.7 | 6.2.7 |
| libreoffice | libreoffice | >= 6.3.0 < 6.3.1 | 6.3.1 |
| opensuse | leap | — | — |
| opensuse | leap | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-54x7-phmv-8vq8: LibreOffice has a feature where documents can specify that pre-installed macros can be executed on various script events such as mouse-over, document-
ghsa_unreviewed·2022-05-24·CVSS 7.8
CVE-2019-9854 [HIGH] GHSA-54x7-phmv-8vq8: LibreOffice has a feature where documents can specify that pre-installed macros can be executed on various script events such as mouse-over, document-
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 iss
OSV
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-
osv·2019-09-06·CVSS 7.8
CVE-2019-9854 [HIGH] 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-
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 iss
Ubuntu
LibreOffice vulnerability
vendor_ubuntu·2019-09-24
CVE-2019-9854 LibreOffice vulnerability
Title: LibreOffice vulnerability
Summary: LibreOffice could be made to run programs as your login if it opened a
specially crafted file.
It was discovered that LibreOffice incorrectly handled embedded scripts in
document files. If a user were tricked into opening a specially crafted
document, a remote attacker could possibly execute arbitrary code.
Instructions: After a standard system update you need to restart LibreOffice to make all
the necessary changes.
Red Hat
libreoffice: Unsafe URL assembly flaw in allowed script location check
vendor_redhat·2019-09-06·CVSS 7.8
CVE-2019-9854 [HIGH] CWE-284 libreoffice: Unsafe URL assembly flaw in allowed script location check
libreoffice: Unsafe URL assembly flaw in allowed script location check
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
Debian
CVE-2019-9854: libreoffice - LibreOffice has a feature where documents can specify that pre-installed macros ...
vendor_debian·2019·CVSS 7.8
CVE-2019-9854 [HIGH] CVE-2019-9854: libreoffice - LibreOffice has a feature where documents can specify that pre-installed macros ...
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 iss
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-9854 libreoffice: Unsafe URL assembly flaw in allowed script location check
bugzilla·2019-11-07·CVSS 7.8
CVE-2019-9854 [HIGH] CVE-2019-9854 libreoffice: Unsafe URL assembly flaw in allowed script location check
CVE-2019-9854 libreoffice: Unsafe URL assembly flaw in allowed script location check
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
Bugzilla
CVE-2019-9854 libreoffice: unsafe URL assembly flaw in allowed script location check [fedora-all]
bugzilla·2019-11-07·CVSS 7.8
CVE-2019-9854 [HIGH] CVE-2019-9854 libreoffice: unsafe URL assembly flaw in allowed script location check [fedora-all]
CVE-2019-9854 libreoffice: unsafe URL assembly flaw in allowed script location check [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multipl
http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00067.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-10/msg00055.htmlhttps://lists.debian.org/debian-lts-announce/2019/10/msg00005.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XQKKOIY2DMZCXJINOLIQXD2NWISDKK3N/https://seclists.org/bugtraq/2019/Sep/17https://usn.ubuntu.com/4138-1/https://www.debian.org/security/2019/dsa-4519https://www.libreoffice.org/about-us/security/advisories/CVE-2019-9854/https://bugzilla.redhat.com/show_bug.cgi?id=1769907http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00067.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-10/msg00055.htmlhttps://lists.debian.org/debian-lts-announce/2019/10/msg00005.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XQKKOIY2DMZCXJINOLIQXD2NWISDKK3N/https://seclists.org/bugtraq/2019/Sep/17https://usn.ubuntu.com/4138-1/https://www.debian.org/security/2019/dsa-4519https://www.libreoffice.org/about-us/security/advisories/CVE-2019-9854/
2019-09-06
Published