CVE-2020-12803 XForms submissions could overwrite local files
Attackers can overwrite local files via malicious ODF forms in LibreOffice, requiring user interaction to submit the form.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2020-12803?
CVE-2020-12803 is a medium-severity path traversal vulnerability in Fedoraproject Fedora, published on 8 Jun 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
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.
Weakness: CWE-20
Which versions are affected by CVE-2020-12803?
It affects 3 products.
Products include Fedoraproject Fedora, Libreoffice Libreoffice, Opensuse Leap.
How do I fix CVE-2020-12803?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2020-12803 being exploited?
There is no known exploitation of CVE-2020-12803 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as DEBIAN-CVE-2020-12803, GHSA-gxcj-pjgw-2hvw, UBUNTU-CVE-2020-12803.