Red Hat Bugzilla – Bug 884705
CVE-2013-1927 icedtea-web: GIFAR issue
Last modified: 2013-04-17 15:19:26 EDT
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).
Created attachment 659469 [details]
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.
Created attachment 663002 [details]
Suggested reproducer for icedtea-web automated testsuite
Created attachment 663003 [details]
Reviwed final patch
This issue was discovered by the Red Hat Security Response Team.
Fixed now in upstream IcedTea-Web versions 1.2.3 and 1.3.2:
Follow-up changelog fixing related commits:
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