Bug 1724958 (CVE-2019-10182) - CVE-2019-10182 icedtea-web: path traversal while processing <jar/> elements of JNLP files results in arbitrary file overwrite
Summary: CVE-2019-10182 icedtea-web: path traversal while processing <jar/> elements o...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2019-10182
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1725940 1725941 1725942 1725943 1732553 1734803
Blocks: 1724963
TreeView+ depends on / blocked
 
Reported: 2019-06-28 07:36 UTC by Marian Rehak
Modified: 2021-02-16 21:47 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
It was found that icedtea-web did not properly sanitize paths from <jar/> elements in JNLP files. An attacker could trick a victim into running a specially crafted application and use this flaw to upload arbitrary files to arbitrary locations in the context of the user.
Clone Of:
Environment:
Last Closed: 2019-07-31 19:18:21 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:2003 0 None None None 2019-07-31 19:13:03 UTC
Red Hat Product Errata RHSA-2019:2004 0 None None None 2019-07-31 17:52:12 UTC

Description Marian Rehak 2019-06-28 07:36:33 UTC
While processing a JNLP file, the href attribute of a <jar/> element by Icedtea-Web is vulnerable to directory traversal.

<jar href="http://localhost/../../../../../XXX.any" version="2.0"/>
Considering the line above, the file XXX.any is saved out of the cache directory, overwriting the destination if it already exists. This is effectively an (over)write-what-where primitive on the filesystem, which could be used to execute arbitrary code (eg. via placing a file in the startup folder, overwriting .bashrc, or similar).

Comment 4 Cedric Buissart 2019-07-22 06:48:20 UTC
Acknowledgments:

Name: Imre Rad

Comment 13 Cedric Buissart 2019-07-31 13:42:44 UTC
Created icedtea-web tracking bugs for this issue:

Affects: fedora-all [bug 1734803]

Comment 14 errata-xmlrpc 2019-07-31 17:52:11 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 15 errata-xmlrpc 2019-07-31 19:13:02 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

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

Comment 16 Product Security DevOps Team 2019-07-31 19:18:21 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-2019-10182

Comment 17 Cedric Buissart 2019-08-01 08:42:25 UTC
Mitigation:

No known mitigation.


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