It was discovered that javac did not properly ignore certain ignorable characters. An attacker could influence the integrity and confidentiality of a system by providing specially crafted input, which is then used by javadoc to generate API documentation. Upstream reports that this issue is relevant to uses where javadoc is used to generate documentation for an untrusted source code and have it hosted on a domain not controlled by the author of the source code (the attacker).
(In reply to Stefan Cornelius from comment #0) > Upstream reports that this issue is relevant to uses where javadoc is used > to generate documentation for an untrusted source code and have it hosted on > a domain not controlled by the author of the source code (the attacker). As noted for the other javadoc issue (bug 1018720), the exact use case upstream is trying to address is unclear. Javadoc code comments are expected to contain HTML tags and text of such comments is added to generated documentation without filtering. Hence hosting javadoc documentation generated for untrusted java sources allows source code author to inject arbitrary script and hence perform XSS attacks.
External References: http://www.oracle.com/technetwork/topics/security/cpuoct2013-1899837.html
Fixed in Oracle Java SE 7u45 and 6u65. OpenJDK upstream commit: http://hg.openjdk.java.net/jdk7u/jdk7u/langtools/rev/61d5b73ae0ac
This issue has been addressed in following products: Supplementary for Red Hat Enterprise Linux 6 Supplementary for Red Hat Enterprise Linux 5 Via RHSA-2013:1440 https://rhn.redhat.com/errata/RHSA-2013-1440.html
This issue has been addressed in following products: Red Hat Enterprise Linux 5 Via RHSA-2013:1447 https://rhn.redhat.com/errata/RHSA-2013-1447.html
This issue has been addressed in following products: Red Hat Enterprise Linux 6 Via RHSA-2013:1451 https://rhn.redhat.com/errata/RHSA-2013-1451.html
This issue has been addressed in following products: Red Hat Enterprise Linux 5 Red Hat Enterprise Linux 6 Via RHSA-2013:1505 https://rhn.redhat.com/errata/RHSA-2013-1505.html
This issue has been addressed in following products: Supplementary for Red Hat Enterprise Linux 6 Supplementary for Red Hat Enterprise Linux 5 Via RHSA-2013:1509 https://rhn.redhat.com/errata/RHSA-2013-1509.html
This issue has been addressed in following products: Supplementary for Red Hat Enterprise Linux 5 Supplementary for Red Hat Enterprise Linux 6 Via RHSA-2013:1508 https://rhn.redhat.com/errata/RHSA-2013-1508.html
This issue has been addressed in following products: Supplementary for Red Hat Enterprise Linux 5 Supplementary for Red Hat Enterprise Linux 6 Via RHSA-2013:1507 https://rhn.redhat.com/errata/RHSA-2013-1507.html
This issue has been addressed in following products: Red Hat Network Satellite Server v 5.4 Red Hat Network Satellite Server v 5.5 Red Hat Satellite Server v 5.6 Via RHSA-2013:1793 https://rhn.redhat.com/errata/RHSA-2013-1793.html
Fixed in IcedTea7 2.4.3 and IcedTea6 1.11.14 and 1.12.7: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2013-October/025087.html http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2013-November/025278.html http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2013-November/025328.html
This issue has been addressed in following products: Oracle Java for Red Hat Enterprise Linux 6 Oracle Java for Red Hat Enterprise Linux 5 Via RHSA-2014:0414 https://rhn.redhat.com/errata/RHSA-2014-0414.html