Java Runtime Environment 6 update 141 (32-bit) Available (x64) - CORRUPT PATCH
Log In or Register to download the BES file, and more.

0 Votes

Description

Oracle has released a new version of the Java SE Runtime Environment (JRE). Use the action below to update Java to version 6 update 141.

Note: Affected computers may report back as 'Pending Restart' once the patch has run successfully, but will not report back their final status until the computer has been restarted.

Important Note: The Java Runtime Environment update does not remove versions of JRE older than JRE 6 update 141. Multiple versions of JRE may be present on affected computers after applying the action below. Fixlet message "Multiple JRE Versions Installed" (ID 7052001) can be used to uninstall older versions of the Java Runtime Environment.

Important Note: Choosing the "Upgrade to the latest JRE regardless of whether or not Internet Explorer, Firefox, or Java is currently running action" will close any running instance of Internet Explorer, Firefox, or Java on the client machines. Please schedule the update to occur at a time when a service interruption is acceptable.

File Size:

16 MB

CVE:


Property Details

ID23312
StatusAlpha - Code that was just developed
TitleJava Runtime Environment 6 update 141 (32-bit) Available (x64) - CORRUPT PATCH
DomainBESC
CategorySecurity Update
Download Size17098832
SourceOracle
Source ID25300681
Source SeverityCritical
Source Release Date1/17/2017 12:00:00 AM
SANSIDN/A
KeywordsJRE, Java, 6u141, 6 update 141, JRE6
Added by on 1/20/2017 12:38:16 PM
Last Modified by on 1/20/2017 12:38:16 PM
Counters 5840 Views / 8 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

Used in 365 fixlets   * Results in a true/false
Show indented relevance
(if( name of operating system starts with "Win" ) then platform id of operating system != 3 else false) AND (if exists property "in proxy agent context" then ( not in proxy agent context ) else true )
Used in 93 fixlets and 2 analyses   * Results in a true/false
Show indented relevance
version of client >= "6.0"
Used in 257 fixlets and 9 analyses   * Results in a true/false
Show indented relevance
name of operating system as lowercase starts with "win"
Used in 381 fixlets and 2 analyses   * Results in a true/false
Show indented relevance
x64 of operating system
Used in 46 fixlets   * Results in a true/false
Show indented relevance
NOT pending restart
Used in 103 fixlets   * Results in a true/false
Show indented relevance
not exists values "PROCESSOR_ARCHITECTURE" whose (it as string as lowercase = "ia64") of keys "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" of registry
Used in 73 fixlets   * Results in a true/false
Show indented relevance
exists file "msiexec.exe" whose (version of it >= "3.0") of system folder
Used in 22 fixlets   * Results in a true/false
Show indented relevance
((exists it) AND ((exists value "InstallingJava32" whose (it = 1) of it))) of key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\JavaInstallation" of registry
Used in 1 fixlet   * Results in a true/false
Show indented relevance
exists value "DisplayVersion" whose ((it < "6.0.1410") of (it as string as version)) of keys whose (value "DisplayName" of it as string as lowercase contains "j2se runtime environment" OR value "DisplayName" of it as string as lowercase contains "runtimeenvironment" OR value "DisplayName" of it as string as lowercase starts with "java(tm)" OR value "DisplayName" of it as string as lowercase starts with "java 6") of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of x32 registry
Used in 2 fixlets   * Results in a true/false
Show indented relevance
NOT exists value "DisplayVersion" whose ((it = "6" and it>="6.0.1410") of (it as string as version)) of keys whose ((value "DisplayName" of it as string as lowercase contains "j2se runtime environment" OR value "DisplayName" of it as string as lowercase contains "runtimeenvironment" OR value "DisplayName" of it as string as lowercase starts with "java(tm)" OR value "DisplayName" of it as string as lowercase starts with "java 6") AND (value "DisplayName" of it as string as lowercase contains "64-bit")) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of x64 registry

Actions

Action 1

Action Link Click here to initiate the deployment process.
Script Type BigFix Action Script
prefetch jre-6u141-windows-i586.exe sha1:7921b27335ac807e914b26a93edc46c27229ea11 size:17098832 url:{value of setting "_BESClient_AllowCustomRepoDownloads" of client | "http://download.oracle.com/MANUAL_BES_CACHING_REQUIRED/"}jre-6u141-windows-i586.exe sha256:cac5dda3b967e3f726b6baa911b25fb329618938ce6ed01c1f6f3ee225819bac

// Note: update .exe will restart service automatically
if{exists running service "JavaQuickStarterService"}
delete __appendfile
delete stop_javaquickstarter.bat
appendfile net stop JavaQuickStarterService
move __appendfile stop_javaquickstarter.bat
waithidden stop_javaquickstarter.bat
endif

regset "[HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\JavaInstallation]" "InstallingJava32"=dword:00000001

//if it is win2k/2k3/xp system, just invoke the .exe installer
if {(name of it contains "Win2000" or name of it contains "WinXP" or name of it contains "Win2003") of operating system}
waithidden __Download\jre-6u141-windows-i586.exe /s /norestart


else
// Remove any existing directory junction point
dos %windir%\syswow64\cmd.exe /C fsutil reparsepoint delete "%windir%\syswow64\config\systemprofile\appdata\locallow\sun\java"
// delete java directory in 32bit version of system32, if any
dos rmdir /q /s "%windir%\syswow64\config\systemprofile\appdata\locallow\sun\java"
//create a java folder under system32 folder if not exists
if {not exist folder (system folder as string &"\config\systemprofile\appdata\locallow\sun\java")}
action uses wow64 redirection false
dos mkdir "%windir%\system32\config\systemprofile\appdata\locallow\sun\java"
endif
// create ntfs junction point from 32bit version of system32 java files to sysnative version
// (NOTE: mklink argument seems to be in native path perspective, so system32 is correct here, not sysnative)
action uses wow64 redirection false
dos mklink /J "%windir%\syswow64\config\systemprofile\appdata\locallow\sun\java" "%windir%\system32\config\systemprofile\appdata\locallow\sun\java"


// Finally, try to install java...
action uses wow64 redirection false
dos %windir%\syswow64\cmd.exe /C __Download\jre-6u141-windows-i586.exe /norestart /s

endif

action may require restart "7921b27335ac807e914b26a93edc46c27229ea11"

continue if {((exists value "DisplayVersion" whose ((it >= "6.0.1410") of ((if (it as string = "1.5.0") then (it as string & ".00") else (it as string)) as version)) of keys whose (value "DisplayName" of it as string as lowercase contains "j2se runtime environment" OR value "DisplayName" of it as string as lowercase starts with "java(tm)") of it) AND (exists key whose (((it contains "java" OR it contains "j2se") AND (it contains "runtime environment" OR it contains "update")) of (value "DisplayName" of it as string as lowercase)) of it)) of key "HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall" of x32 registry}

regdelete "[HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\JavaInstallation]" "InstallingJava32"
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.

Action 2

Action Link Click here to upgrade to the latest JRE regardless of whether or not Internet Explorer, Firefox, or Java is currently running.
Script Type BigFix Action Script
prefetch jre-6u141-windows-i586.exe sha1:7921b27335ac807e914b26a93edc46c27229ea11 size:17098832 url:{value of setting "_BESClient_AllowCustomRepoDownloads" of client | "http://download.oracle.com/MANUAL_BES_CACHING_REQUIRED/"}jre-6u141-windows-i586.exe sha256:cac5dda3b967e3f726b6baa911b25fb329618938ce6ed01c1f6f3ee225819bac

// Note: update .exe will restart service automatically
if{exists running service "JavaQuickStarterService"}
delete __appendfile
delete stop_javaquickstarter.bat
appendfile net stop JavaQuickStarterService
move __appendfile stop_javaquickstarter.bat
waithidden stop_javaquickstarter.bat
endif

waithidden taskkill /F /IM java.exe
waithidden taskkill /F /IM javaw.exe
waithidden taskkill /F /IM javaws.exe
waithidden taskkill /F /IM iexplore.exe
waithidden taskkill /F /IM firefox.exe

regset "[HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\JavaInstallation]" "InstallingJava32"=dword:00000001

//if it is win2k/2k3/xp system, just invoke the .exe installer
if {(name of it contains "Win2000" or name of it contains "WinXP" or name of it contains "Win2003") of operating system}
waithidden __Download\jre-6u141-windows-i586.exe /s /norestart


else
// Remove any existing directory junction point
dos %windir%\syswow64\cmd.exe /C fsutil reparsepoint delete "%windir%\syswow64\config\systemprofile\appdata\locallow\sun\java"
// delete java directory in 32bit version of system32, if any
dos rmdir /q /s "%windir%\syswow64\config\systemprofile\appdata\locallow\sun\java"
//create a java folder under system32 folder if not exists
if {not exist folder (system folder as string &"\config\systemprofile\appdata\locallow\sun\java")}
action uses wow64 redirection false
dos mkdir "%windir%\system32\config\systemprofile\appdata\locallow\sun\java"
endif
// create ntfs junction point from 32bit version of system32 java files to sysnative version
// (NOTE: mklink argument seems to be in native path perspective, so system32 is correct here, not sysnative)
action uses wow64 redirection false
dos mklink /J "%windir%\syswow64\config\systemprofile\appdata\locallow\sun\java" "%windir%\system32\config\systemprofile\appdata\locallow\sun\java"


// Finally, try to install java...
action uses wow64 redirection false
dos %windir%\syswow64\cmd.exe /C __Download\jre-6u141-windows-i586.exe /norestart /s

endif

action may require restart "7921b27335ac807e914b26a93edc46c27229ea11"

continue if {((exists value "DisplayVersion" whose ((it >= "6.0.1410") of ((if (it as string = "1.5.0") then (it as string & ".00") else (it as string)) as version)) of keys whose (value "DisplayName" of it as string as lowercase contains "j2se runtime environment" OR value "DisplayName" of it as string as lowercase starts with "java(tm)") of it) AND (exists key whose (((it contains "java" OR it contains "j2se") AND (it contains "runtime environment" OR it contains "update")) of (value "DisplayName" of it as string as lowercase)) of it)) of key "HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall" of x32 registry}

regdelete "[HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\JavaInstallation]" "InstallingJava32"
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.

Action 3

Action Link Click here for more information about the latest version of JRE.
Script Type URL
http://java.sun.com/javase/6/webnotes/ReleaseNotes.html
    

Action 4

Action Link Click here for security-related information from Oracle.
Script Type URL
http://java.sun.com/javase/technologies/security/index.jsp#overview
    

Action 5

Action Link Click here for more information from SANS on vulnerabilities in cross-platform applications.
Script Type URL
http://www.sans.org/top20/#c1
    

Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!