Bug 884705 - (CVE-2013-1927) CVE-2013-1927 icedtea-web: GIFAR issue
CVE-2013-1927 icedtea-web: GIFAR issue
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
: Security
Depends On: 949094 949095
Blocks: 884765
  Show dependency treegraph
Reported: 2012-12-06 10:39 EST by Tomas Hoger
Modified: 2013-04-17 15:19 EDT (History)
5 users (show)

See Also:
Fixed In Version: icedtea-web 1.2.3, icedtea-web 1.3.2
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-04-17 15:19:26 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
proposed patch (14.78 KB, patch)
2012-12-07 10:38 EST, jiri vanek
no flags Details | Diff
Suggested reproducer for icedtea-web automated testsuite (26.69 KB, patch)
2012-12-13 09:36 EST, jiri vanek
no flags Details | Diff
Reviwed final patch (16.46 KB, patch)
2012-12-13 09:38 EST, jiri vanek
jvanek: review+
Details | Diff

  None (edit)
Description Tomas Hoger 2012-12-06 10:39:21 EST
Current IcedTea-Web versions are affected by GIFAR issue.  It is possible to combine GIF image with Java JAR into a single file, that is both valid GIF as well as valid JAR/ZIP file.  This issue can be used to execute Java applet in the context of the site that allows untrusted users to upload images in GIF format.

This problem was previously fixed in Oracle and IBM Java plugins as CVE-2008-5343 (bug 474790).

Comment 2 jiri vanek 2012-12-07 10:38:59 EST
Created attachment 659469 [details]
proposed  patch

This patch is fixing the issue. Troubles will come when not just zip jars will be used (and so jar header will change) - eg pack2000 in jdk8.
Otherwise it was quite tested and looks ok.
Comment 3 jiri vanek 2012-12-13 09:36:55 EST
Created attachment 663002 [details]
Suggested reproducer for icedtea-web automated testsuite
Comment 4 jiri vanek 2012-12-13 09:38:14 EST
Created attachment 663003 [details]
Reviwed final patch
Comment 13 Murray McAllister 2013-04-17 03:31:17 EDT

This issue was discovered by the Red Hat Security Response Team.
Comment 15 errata-xmlrpc 2013-04-17 14:33:49 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2013:0753 https://rhn.redhat.com/errata/RHSA-2013-0753.html

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