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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | libcmis | 0.5.2-1.el8 | ALSA-2020:4628 |
| AlmaLinux:8 | libreoffice-sdk | 1:6.3.6.2-3.el8.alma | ALSA-2020:4628 |
| AlmaLinux:8 | libreoffice-sdk-doc | 1:6.3.6.2-3.el8.alma | ALSA-2020:4628 |
| Alpine:v3.20 | libreoffice | 6.4.4.2-r0 | ALPINE-CVE-2020-12803 |
| Alpine:v3.21 | libreoffice | 6.4.4.2-r0 | ALPINE-CVE-2020-12803 |
| Alpine:v3.22 | libreoffice | 6.4.4.2-r0 | ALPINE-CVE-2020-12803 |
| Alpine:v3.23 | libreoffice | 6.4.4.2-r0 | ALPINE-CVE-2020-12803 |
| Alpine:v3.24 | libreoffice | 6.4.4.2-r0 | ALPINE-CVE-2020-12803 |
| Debian:12 | libreoffice | 1:6.4.4-1 | DEBIAN-CVE-2020-12803 |
| Debian:13 | libreoffice | 1:6.4.4-1 | DEBIAN-CVE-2020-12803 |
| Debian:14 | libreoffice | 1:6.4.4-1 | DEBIAN-CVE-2020-12803 |
| Rocky Linux:8 | libcmis | 0:0.5.2-1.el8 | RLSA-2020:4628 |
| Ubuntu:22.04:LTS | libreoffice | 1:7.3.6-0ubuntu0.22.04.2 | USN-5694-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| The Document Foundation | LibreOffice | unspecified – before 6.4.4 |
References
- https://www.libreoffice.org/about-us/security/advisories/CVE-2020-12803
- FEDORA-2020-8922773bc4 vendor-advisory
- openSUSE-SU-2020:1222 vendor-advisory
- openSUSE-SU-2020:1261 vendor-advisory
- [debian-lts-announce] 20231231 [SECURITY] [DLA 3703-1] libreoffice security update mailing-list