Vulnerability · Published Jun 8, 2020 · Assigned by Document Fdn.

CVE-2020-12803XForms submissions could overwrite local files

Medium 6.5

In plain English

A medium-severity security flaw in LibreOffice from The Document Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 78% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)1.8%top 22.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

ODF documents can contain forms to be filled out by the user. Similar to HTML forms, the contained form data can be submitted to a URI, for example, to an external web server. To create submittable forms, ODF implements the XForms W3C standard, which allows data to be submitted without the need for macros or other active scripting Prior to version 6.4.4 LibreOffice allowed forms to be submitted to any URI, including file: URIs, enabling form submissions to overwrite local files. User-interaction is required to submit the form, but to avoid the possibility of malicious documents engineered to maximize the possibility of inadvertent user submission this feature has now been limited to http[s] URIs, removing the possibility to overwrite local files. This issue affects: The Document Foundation LibreOffice versions prior to 6.4.4.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8libcmis0.5.2-1.el8ALSA-2020:4628
AlmaLinux:8libreoffice-sdk1:6.3.6.2-3.el8.almaALSA-2020:4628
AlmaLinux:8libreoffice-sdk-doc1:6.3.6.2-3.el8.almaALSA-2020:4628
Alpine:v3.20libreoffice6.4.4.2-r0ALPINE-CVE-2020-12803
Alpine:v3.21libreoffice6.4.4.2-r0ALPINE-CVE-2020-12803
Alpine:v3.22libreoffice6.4.4.2-r0ALPINE-CVE-2020-12803
Alpine:v3.23libreoffice6.4.4.2-r0ALPINE-CVE-2020-12803
Alpine:v3.24libreoffice6.4.4.2-r0ALPINE-CVE-2020-12803
Debian:12libreoffice1:6.4.4-1DEBIAN-CVE-2020-12803
Debian:13libreoffice1:6.4.4-1DEBIAN-CVE-2020-12803
Debian:14libreoffice1:6.4.4-1DEBIAN-CVE-2020-12803
Rocky Linux:8libcmis0:0.5.2-1.el8RLSA-2020:4628
Ubuntu:22.04:LTSlibreoffice1:7.3.6-0ubuntu0.22.04.2USN-5694-1

Affected products (as reported)

VendorProductVersions
The Document Foundation LibreOffice unspecified – before 6.4.4

References