Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
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...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-16858
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1672002 1672003 1672004 1743475
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-14 15:50 UTC by Pedro Sampaio
Modified: 2021-10-07 10:35 UTC (History)
8 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.
Clone Of:
Environment:
Last Closed: 2019-08-08 19:18:17 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:2130 0 None None None 2019-08-06 12:18:44 UTC

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]

Comment 6 errata-xmlrpc 2019-08-06 12:18:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2019:2130 https://access.redhat.com/errata/RHSA-2019:2130

Comment 7 Product Security DevOps Team 2019-08-08 19:18:17 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2018-16858

Comment 9 msiddiqu 2019-08-16 17:57:32 UTC
@Huzaifa ^^


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