NY.gov Portal State Agency Listing
The following cyber advisory was issued by the New York State Office of Information Technology Services and is intended for State government entities. The information may or may not be applicable to the general public and, accordingly, the State does not warrant its use for any specific purposes.

ITS ADVISORY NUMBER:
2013-006 - Updated

DATE(S) ISSUED:
1/11/2013
1/14/2013 - UPDATED

SUBJECT:
Vulnerability in Oracle Java Could Allow Remote Code Execution

ORIGINAL OVERVIEW:

January 14 UPDATE SUMMARY:
Oracle has released an updated Security Alert that contains further details regarding this vulnerability, and an additional vulnerability affecting Java running in web browsers.  It is recommended that the patch from Oracle be applied immediately after appropriate testing (see UPDATED RECOMMENDATIONS below.)

ORIGINAL OVERVIEW:
A vulnerability has been discovered in Oracle Java that can lead to remote code execution. Java is used to enhance the user experience when visiting websites and is installed on a majority of desktops and servers. This vulnerability may be exploited if a user visits or is redirected to a specifically crafted web page. Successful exploitation of this vulnerability could result in an attacker gaining the same privileges as the Java application. Depending on the privileges associated with the application, an attacker could then install programs; view, change, or delete data; or create new accounts with full user rights.

Please note that there is no patch available from Oracle to mitigate this vulnerability at this time.  This vulnerability is being exploited in the wild by multiple exploit kits, such as BlackHole, Redkit, Nuclear Exploit Kit and CoolExploit Kit.  Exploit code for this vulnerability is also publicly available. 

January 14 UPDATED OVERVIEW:
Oracle has released a Security Alert which contains updates for this vulnerability as well as one additional vulnerability affecting Java running in web browsers. It is recommended to apply this update immediately after appropriate testing.

SYSTEM AFFECTED:

  • Oracle Java 7 update 10 and earlier.

RISK:
Government:

  • Large and medium government entities: High
  • Small government entities: High

Businesses:

  • Large and medium business entities: High
  • Small business entities: High

Home users: High

ORIGINAL DESCRIPTION:
A vulnerability has been discovered in Oracle Java that can lead to remote code execution. In order to exploit this vulnerability, an attacker must first create a specially crafted web page or file designed to leverage this issue. When the web page is visited, or the file opened, the attacker supplied code is run in the context of the affected application.

According to researchers at FireEye, one sample malware has a payload which is ransomware, commonly known as Tobfy. It retrieves a template from the Web, in this case, hxxp://<random>[dot]cristmaste[dot]info/get[dot]php, and creates a full screen window demanding payment using social engineering.

Additionally, it disables Windows Safe Mode by deleting values under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot, and it terminates processes like "taskmgr.exe," "msconfig.exe," "regedit.exe," and "cmd.exe" in order to deter the user from trying to find or disable the malware. Strings such as \\xneo\\lock\\Release\\lock[dot]pdb and "Conteneur ActiveX" were found in memory. 

At this time, the piece of malware analyzed is unable to communicate back to the attacker. The malware is designed to make an HTTP request for hxxp://<random>[dot]my-files-download[dot]ru/status[dot]php, but instead requests the invalid URL hxxp://<random>[dot]my-files-download[dot]ru/[dot]ru`utr/qiq. This causes further issues because the callback thread determines if the user has paid the ransom.  If the malware is unable to communicate back, the attacker does not know if the ransom has been paid or not.

Keep in mind that this represents the analysis of one specific malware sample and other malwares developed for exploiting this vulnerability will probably utilize different tactics and techniques.

Successful exploitation of this vulnerability could result in an attacker gaining the same privileges as the Java application. Depending on the privileges associated with the application, an attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Failed exploit attempts will likely result in denial-of-service conditions.

Please note that there is no patch available from Oracle to mitigate this vulnerability at this time.  This vulnerability is being exploited in the wild by multiple exploit kits, such as BlackHole, Redkit, Nuclear Exploit Kit and CoolExploit Kit.  Exploit code for this vulnerability is also publicly available.

January 14 UPDATED DESCRIPTION:
Oracle has released a Security Alert which contains updates for this vulnerability as well as one additional vulnerability affecting Java running in web browsers. It is recommended to apply this update immediately after appropriate testing.

RECOMMENDATIONS:
We recommend the following actions be taken:

  • Consider disabling or uninstalling Java browser plugin on all systems until a patch is available
  • Consider following the Oracle guidelines provided for Java 7 update 10 to disable Java in web browsers (http://www.java.com/en/download/help/disable_browser.xml)
  • Run all software as a non-privileged user (one without administrative privileges) to diminish the effects of a successful attack.
  • Remind users not to visit un-trusted websites or follow links provided by unknown or un-trusted sources.
  • Remind users not to open e-mail attachments from unknown users or suspicious e-mails from trusted sources.

January 14 UPDATED RECOMMENDATIONS:

  • Apply the patch from Oracle immediately, after appropriate testing.

ORIGINAL REFERENCES:
Security Focus:
http://www.securityfocus.com/bid/57246

US-CERT:
http://www.kb.cert.org/vuls/id/625617

FireEye:
http://blog.fireeye.com/research/2013/01/happy-new-year-from-new-java-zero-day.html

CVE:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-0422

Oracle:
http://www.java.com/en/download/help/disable_browser.xml

Alienvault Labs:
http://labs.alienvault.com/labs/index.php/2013/new-year-new-java-zeroday/

Securelist:
https://www.securelist.com/en/blog/208194070/Java_0day_Mass_Exploit_Distribution 

January 14 UPDATED REFERENCES:
Oracle:
http://www.oracle.com/technetwork/topics/security/alert-cve-2013-0422-1896849.html

Deborah A. Snyder

Acting Chief Information Security Officer


 

Cyber Security

GIS