Bug 1649841 (CVE-2018-16858) - CVE-2018-16858 libreoffice: Arbitrary python functions in arbitrary modules on the filesystem can be executed without warning
Summary: CVE-2018-16858 libreoffice: Arbitrary python functions in arbitrary modules o...
Status: NEW
Alias: CVE-2018-16858
Product: Security Response
Classification: Other
Component: vulnerability   
(Show other bugs)
Version: unspecified
Hardware: All Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=moderate,public=20190201,repor...
Keywords: Security
Depends On: 1672003 1672004 1672002
Blocks: 1649844
TreeView+ depends on / blocked
 
Reported: 2018-11-14 15:50 UTC by Pedro Sampaio
Modified: 2019-02-08 16:27 UTC (History)
5 users (show)

Fixed In Version: libreoffice 6.0.7, libreoffice 6.1.3
Doc Type: If docs needed, set a value
Doc Text:
It was found that libreoffice was vulnerable to a directory traversal attack which could be used to execute arbitrary macros bundled with a document. An attacker could craft a document, which when opened by LibreOffice, would execute a Python method from a script in any arbitrary file system location, specified relative to the LibreOffice install location.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description Pedro Sampaio 2018-11-14 15:50:45 UTC
A flaw was found in libreoffice. If a document does not contain macros/scripts, but references a pre-installed macro/script execution of those macros/scripts, execution is allowed without warning bypassing normal behavior.

Comment 1 Huzaifa S. Sidhpurwala 2018-11-21 08:03:05 UTC
Acknowledgments:

Name: The LibreOffice project
Upstream: Alex Inführ

Comment 2 Huzaifa S. Sidhpurwala 2018-11-21 09:47:44 UTC
In versions of libreoffice shipped with Red Hat Enterprise Linux 6 and 7, arbitrary arguements cannot be passed to the scripts/macros, hence meaningful exploitation is difficult.

Comment 3 Huzaifa S. Sidhpurwala 2019-02-03 03:35:33 UTC
External References:

https://www.libreoffice.org/about-us/security/advisories/cve-2018-16858/

Comment 4 Huzaifa S. Sidhpurwala 2019-02-03 03:35:51 UTC
Created libreoffice tracking bugs for this issue:

Affects: fedora-all [bug 1672002]


Note You need to log in before you can comment on or make changes to this bug.