CVE-2019-9853
Insufficient URL decoding flaw in categorizing macro location
Check your servers for CVE-2019-9853
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2019-9853 affects libreoffice, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
LibreOffice documents can contain macros. The execution of those macros is controlled by the document security settings, typically execution of macros are blocked by default. A URL decoding flaw existed in how the urls to the macros within the document were processed and categorized, resulting in the possibility to construct a document where macro execution bypassed the security settings. The documents were correctly detected as containing macros, and prompted the user to their existence within the documents, but macros within the document were subsequently not controlled by the security settings allowing arbitrary macro execution This issue affects: LibreOffice 6.2 series versions prior to 6.2.7; LibreOffice 6.3 series versions prior to 6.3.1.
Exploitation
EPSS 3.08%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 88.4% of all scored CVEs. Scores of 27 Nov 2026.
Weakness
- CWE-116 Improper Encoding or Escaping of Output
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| LibreOffice |
affected from 6.2 series, before 6.2.7 affected from 6.3 series, before 6.3.1
|
Is my server affected?
Find the installed version of libreoffice and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i libreoffice
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2019-9853 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2019-9853RHEL, Rocky, Alma, Fedora
rpm -q libreoffice
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2019-9853Alpine
apk list --installed | grep -i libreofficeWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2019-9853
trivy image --scanners vuln IMAGE | grep CVE-2019-9853
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the agent.
References
Advisories
- https://www.libreoffice.org/about-us/security/advisories/CVE-2019-9853/ libreoffice.org
- FEDORA-2019-4b0cc75996 lists.fedoraproject.org · vendor advisory
- openSUSE-SU-2019:2709 lists.opensuse.org · vendor advisory
Other references
- [debian-lts-announce] 20191006 [SECURITY] [DLA 1947-1] libreoffice security update lists.debian.org · mailing list
- [openoffice-commits] 20191016 svn commit: r1051583 - in /websites/staging/ooo-site/trunk: cgi-bin/ content/… lists.apache.org · mailing list
- [openoffice-commits] 20191016 svn commit: r1868517 - /openoffice/ooo-site/trunk/content/security/cves/CVE-2019-9853.html lists.apache.org · mailing list
- [openoffice-commits] 20191016 svn commit: r1868522 - /openoffice/ooo-site/trunk/content/security/bulletin.html lists.apache.org · mailing list
- [openoffice-commits] 20191124 svn commit: r1870322 - /openoffice/ooo-site/trunk/content/security/cves/CVE-2019-9853.html lists.apache.org · mailing list
- [openoffice-commits] 20191124 svn commit: r1053264 - in /websites/staging/ooo-site/trunk: cgi-bin/ content/… lists.apache.org · mailing list
- [openoffice-commits] 20191124 svn commit: r1053267 - in /websites/staging/ooo-site/trunk: cgi-bin/ content/… lists.apache.org · mailing list
- [openoffice-commits] 20191124 svn commit: r1870324 - /openoffice/ooo-site/trunk/content/security/cves/CVE-2019-9853.html lists.apache.org · mailing list
- [openoffice-commits] 20191124 svn commit: r1870337 - in /openoffice/ooo-site/trunk/content/security/cves… lists.apache.org · mailing list
- [openoffice-commits] 20191124 svn commit: r1053270 - in /websites/staging/ooo-site/trunk: cgi-bin/ content/… lists.apache.org · mailing list
- [openoffice-commits] 20191124 svn commit: r1053271 - in /websites/staging/ooo-site/trunk: cgi-bin/ content/… lists.apache.org · mailing list
- [openoffice-commits] 20191124 svn commit: r1870336 - in /openoffice/ooo-site/trunk/content/security/cves… lists.apache.org · mailing list
- 20200220 Open-Xchange Security Advisory 2020-02-19 seclists.org · mailing list
- http://packetstormsecurity.com/files/156474/Open-Xchange-App-Suite-Documents-Server-Side-Request-Forgery.html packetstormsecurity.com
Source: the record CVE-2019-9853 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse