Bug 1725928 (CVE-2019-10181) - CVE-2019-10181 icedtea-web: unsigned code injection in a signed JAR file
Summary: CVE-2019-10181 icedtea-web: unsigned code injection in a signed JAR file
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2019-10181
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: 1725929 1725930 1734633 1734634 1734644 1734805
Blocks: 1724963
TreeView+ depends on / blocked
 
Reported: 2019-07-01 18:50 UTC by Cedric Buissart
Modified: 2021-02-16 21:47 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
It was found that executable code could be injected in a JAR file without compromising the signature verification. An attacker could use this flaw to inject code in a trusted JAR. The code would be executed inside the sandbox.
Clone Of:
Environment:
Last Closed: 2019-07-31 19:18:25 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:04 UTC
Red Hat Product Errata RHSA-2019:2004 0 None None None 2019-07-31 17:52:15 UTC

Description Cedric Buissart 2019-07-01 18:50:41 UTC
The implementation considers jar archives fully signed even when unsigned class files are residing in the META-INF directory. An mitm attacker could inject extra code to the jar archive and get it invoked by specifying it via the main-class attribute of application-desc: <application-desc main-class="META-INF.Test" />

The dash is not among the allowed characters in Java identifiers, so this cannot be produced via a legit compiler, but the bytecode verifier accepts crafted class files with dash in the package name happily.

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

Name: Imre Rad

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

Affects: fedora-all [bug 1734805]

Comment 11 errata-xmlrpc 2019-07-31 17:52:14 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 12 errata-xmlrpc 2019-07-31 19:13:04 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 13 Product Security DevOps Team 2019-07-31 19:18:25 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-10181


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