CVE-2017-3157 Information disclosure in Apache OpenOffice

Medium 5.5 Published Updated

An attacker can read arbitrary files from a user's filesystem by crafting a malicious document in Apache OpenOffice, requiring user interaction to save and return the file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2017-3157?

CVE-2017-3157 is a medium-severity vulnerability in Apache Openoffice, published on 20 Nov 2017. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

By exploiting the way Apache OpenOffice before 4.1.4 renders embedded objects, an attacker could craft a document that allows reading in a file from the user's filesystem. Information could be retrieved by the attacker by, e.g., using hidden sections to store the information, tricking the user into saving the document and convincing the user to send the document back to the attacker. The vulnerability is mitigated by the need for the attacker to know the precise file path in the target system, and the need to trick the user into saving the document and sending it back.

Weakness: CWE-200

Which versions are affected by CVE-2017-3157?

It affects 8 products.

Linux distribution packages (40)
autocorr-af Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
autocorr-bg Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
autocorr-ca Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
autocorr-cs Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
autocorr-da Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
autocorr-de Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
autocorr-en Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
autocorr-es Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
autocorr-fa Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
autocorr-fi Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
autocorr-fr Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
autocorr-ga Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
autocorr-hr Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
autocorr-hu Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
autocorr-is Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
autocorr-it Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
autocorr-ja Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
autocorr-ko Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
autocorr-lb Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
autocorr-lt Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
autocorr-mn Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
autocorr-nl Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
autocorr-pl Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
autocorr-pt Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
autocorr-ro Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
autocorr-ru Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
autocorr-sk Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
autocorr-sl Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
autocorr-sr Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
autocorr-sv Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
autocorr-tr Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
autocorr-vi Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
autocorr-zh Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
libreoffice Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
libreoffice-base Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
libreoffice-bsh Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
libreoffice-calc Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
libreoffice-core Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
libreoffice-debuginfo Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1
libreoffice-draw Red Hat:enterprise_linux:6::clientAll versions1:4.3.7.2-2.el6_9.1

Products include Apache Openoffice, Debian Debian Linux, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server, Redhat Enterprise Linux Server Aus, Redhat Enterprise Linux Server Eus and 2 more.

How do I fix CVE-2017-3157?

Upgrade to a fixed version.

Is CVE-2017-3157 being exploited?

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

All Apache Openoffice vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-3157, DSA-3792-1, GHSA-c683-7wh2-j8m4, RHSA-2017:0914, RHSA-2017:0979, UBUNTU-CVE-2017-3157 and 1 more.

Is CVE-2017-3157 in your software?

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

Check your SBOMs for free