Bug 1507803 (CVE-2017-9806)

Summary: CVE-2017-9806 libreoffice: Out-of-bounds write in the WW8Fonts::WW8Fonts functionality
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: anemec, caolanm, dtardon, erack, mstahl, sbergman
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libreoffice 3.4.3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-31 09:19:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1507808    
Bug Blocks: 1507560    

Description Andrej Nemec 2017-10-31 08:19:12 UTC
An exploitable out of bound write vulnerability exists in the WW8Fonts::WW8Fonts functionality of Apache OpenOffice 4.1.3. A specially crafted doc file can cause an out of bound write potentially resulting in arbitrary code execution. An attacker can send/provide a malicious doc file to trigger this vulnerability.

External References:

https://www.talosintelligence.com/reports/TALOS-2017-0295
https://www.openoffice.org/security/cves/CVE-2017-9806.html
https://www.libreoffice.org/about-us/security/advisories/CVE-2017-9806

Comment 1 Andrej Nemec 2017-10-31 08:23:23 UTC
Created libreoffice tracking bugs for this issue:

Affects: fedora-all [bug 1507808]

Comment 2 David Tardon 2017-10-31 08:45:04 UTC
Is there any reproducer? Or even a hint whether libreoffice is vulnerable too? It seems to me that this was addressed by https://gerrit.libreoffice.org/gitweb?p=core.git;a=commitdiff_plain;h=bb494d6bd8c5868f34bd8f9444ed3eb401145f10 ~6 years ago...

Comment 3 David Tardon 2017-10-31 09:06:48 UTC
Caolan confirms this is fixed by the mentioned commit, so no current Fedora is vulnerable.

Comment 4 Huzaifa S. Sidhpurwala 2017-10-31 09:19:54 UTC
As per Libreoffice advisory mentioned in comment 0 , this issue was fixed in LO version 3.4.3, hence not version of Libreoffice shipped with Red Hat Enterprise Linux or Fedora is affected.