CVE-2020-12801 Crash-recovered MSOffice encrypted documents defaulted to not to using encryption on next save

Medium 5.3 Published Updated

LibreOffice fails to maintain encryption for recovered Microsoft Office documents, potentially exposing sensitive data to unauthorized users.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-12801?

CVE-2020-12801 is a medium-severity vulnerability in Libreoffice Libreoffice, published on 18 May 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

If LibreOffice has an encrypted document open and crashes, that document is auto-saved encrypted. On restart, LibreOffice offers to restore the document and prompts for the password to decrypt it. If the recovery is successful, and if the file format of the recovered document was not LibreOffice's default ODF file format, then affected versions of LibreOffice default that subsequent saves of the document are unencrypted. This may lead to a user accidentally saving a MSOffice file format document unencrypted while believing it to be encrypted. This issue affects: LibreOffice 6-3 series versions prior to 6.3.6; 6-4 series versions prior to 6.4.3.

Weakness: CWE-312, CWE-311

Which versions are affected by CVE-2020-12801?

It affects 2 products.

Linux distribution packages (6)
libreoffice SUSE:Linux Enterprise Software Development Kit 12 SP4All versions6.4.4.2-43.65.5
libreoffice SUSE:Linux Enterprise Software Development Kit 12 SP5All versions6.4.4.2-43.65.5
libreoffice SUSE:Linux Enterprise Workstation Extension 12 SP4All versions6.4.4.2-43.65.5
libreoffice SUSE:Linux Enterprise Workstation Extension 12 SP5All versions6.4.4.2-43.65.5
libreoffice SUSE:Linux Enterprise Workstation Extension 15 SP1All versions6.4.4.2-8.19.4
libreoffice openSUSE:Leap 15.1All versions6.4.4.2-lp151.3.15.1

Products include Libreoffice Libreoffice, Opensuse Leap.

How do I fix CVE-2020-12801?

Upgrade to a fixed version.

Is CVE-2020-12801 being exploited?

There is no known exploitation of CVE-2020-12801 in the wild and no public exploit code.

All Libreoffice Libreoffice vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-12801, GHSA-52g9-8355-62qv, MGASA-2020-0258, SUSE-SU-2020:1530-1, SUSE-SU-2020:1731-1, UBUNTU-CVE-2020-12801 and 1 more.

Is CVE-2020-12801 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free