CERT mailing list archives

TA13-169A: Oracle Releases Updates for Javadoc and Other Java SE Vulnerabilities


From: "US-CERT" <US-CERT () public govdelivery com>
Date: Wed, 19 Jun 2013 10:45:00 -0500

US Computer Emergency Readiness Team banner graphic

National Cyber Awareness System:

TA13-169A: Oracle Releases Updates for Javadoc and Other Java SE Vulnerabilities [ 
https://www.us-cert.gov/ncas/alerts/TA13-169A ] 06/18/2013 04:37 PM EDT 
Original release date: June 18, 2013 | Last revised: June 19, 2013

Systems Affected

Any system using Oracle Java including


  * JDK and JRE 7 Update 21 and earlier 
  * JDK and JRE 6 Update 45 and earlier 
  * JDK and JRE 5.0 Update 45 and earlier 
  * JavaFX 2.2.21 and earlier 

Website owners that host Javadoc HTML API documentation

Overview

Oracle released the June 2013 Critical Patch Update for Oracle Java SE [ 
http://www.oracle.com/technetwork/topics/security/javacpujun2013-1899847.html ]. This patch contains 40 new security 
fixes across Java SE products and a fix to the Javadoc Tool [ 
http://www.oracle.com/technetwork/java/javase/documentation/index-jsp-135444.html ]. API documentation in HTML format 
generated by the Javadoc tool that contains a right frame may be vulnerable to frame injection when hosted on a web 
server.

Description

Oracle's June Critical Patch Update includes a fix to the Javadoc Tool [ 
http://www.oracle.com/technetwork/java/javase/documentation/index-jsp-135444.html ]. API documentation in HTML format 
generated by the Javadoc tool that contains a right frame may be vulnerable to frame injection when hosted on a web 
server. Additional information can be found in CERT Vulnerablity Report VU#225657 [ 
http://www.kb.cert.org/vuls/id/225657 ]. It is recommened that sites hosting such pages should re-generate the API 
documentation using the latest Javadoc tool and replace the current pages with the re-generated Javadoc output. In 
cases where regenerating API documentation is not feasible, a Java API Documentation Updater Tool that updates API 
documentation "in place" is available Oracle's Java SE Downloads page [ 
http://www.oracle.com/technetwork/java/javase/downloads/index.html ].

 

Impact

An attacker can cause one of the frames within a Javadoc-generated web page to be replaced with a malicious page. This 
vulnerability could be used for phishing or social engineering, or it could be used for browser exploitation if 
combined with another browser-related vulnerability.

Solution

*Apply Updates*

Oracle has released the June 2013 Java Critical Patch Update [ 
http://www.oracle.com/technetwork/topics/security/javacpujun2013-1899847.html ] to address this vulnerability. Oracle 
Java Development Toolkit (JDK) and Javadoc users are advised to apply the June 2013 Java Critical Patch Update [ 
http://www.oracle.com/technetwork/topics/security/javacpujun2013-1899847.html ] and regenerate and republish affected 
Javadoc HTML pages.

*Fix-in-Place Tool*

Oracle has released a fix-in-place tool named Java API Documentation Updater Tool [ 
http://www.oracle.com/technetwork/java/javase/documentation/index-jsp-135444.html ]. This fix-in-place tool can process 
directories or folders to search for HTML files to be remediated without having to regenerate existing Javadocs. When 
presented directories/folders and their sub-directories or sub-folders, the Java API Documentation Updater Tool [ 
http://www.oracle.com/technetwork/java/javase/documentation/index-jsp-135444.html ] will search for files with the 
following names:


  * index.htm 
  * index.html 
  * toc.htm 
  * toc.html 

For each file that matches the names noted above, the Java API Documentation Updater Tool [ 
http://www.oracle.com/technetwork/java/javase/documentation/index-jsp-135444.html ] will search the file for the 
affected JavaScript text and replace it with the remediated version. Note that this tool will not detect Javadoc pages 
that have been renamed to something other than one of the above page names.

References

  * Oracle Java SE Critical Patch Update Announcement - June 2013 [ 
http://www.us-cert.gov/ncas/current-activity/2013/06/18/Oracle-Java-SE-Critical-Patch-Update-Announcement-June-2013 ] 
  * Vulnerability Note VU#225657 [ http://www.kb.cert.org/vuls/id/225657 ] 
  * Oracle Java SE Critical Patch Update Advisory - June 2013 [ 
http://www.oracle.com/technetwork/topics/security/javacpujun2013-1899847.html ] 
  * CVE-2013-1571 [ http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-1571 ] 
  * Javadoc Tool [ http://www.oracle.com/technetwork/java/javase/documentation/index-jsp-135444.html ] 

Revision History

  * Initial Release 
________________________________________________________________________

This product is provided subject to this Notification [ http://www.us-cert.gov/privacy/notification ] and this Privacy 
& Use [ http://www.us-cert.gov/privacy/ ] policy.

________________________________________________________________________

OTHER RESOURCES: Contact Us [ http://www.us-cert.gov/contact-us/ ] | Security Publications [ 
http://www.us-cert.gov/security-publications ] | Alerts and Tips [ http://www.us-cert.gov/ncas ] | Related Resources [ 
http://www.us-cert.gov/related-resources ] 

STAY CONNECTED: Sign up for email updates [ http://public.govdelivery.com/accounts/USDHSUSCERT/subscriber/new ] 


Current thread: