tdevropa-test

Java Runtime Environment 7 update 121 (32-bit) Available (JRE 7 32-bit version Installed) (x64)
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 7 update 121.

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 7 update 121. 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: For more information about manually caching file downloads on the BES Server, please see the following tdevropa-test Support Knowledge Base article.

Important Note: For Windows Vista, Windows 7, Windows Server 2008, and Windows Server 2008 R2 users, the installation may fail if the User Account Control (UAC) is enabled.

Important Note: To avoid any service interruption on the client computer, use the default action only when client computers do not have any running instances of Java, Internet Explorer, or Firefox. The default action does not close any running instances these applications on the client machines. If any of these applications are running on the client computers, the default action might fail. Schedule the update to occur at a time when the client machine is not using these applications.

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.

Note: Use the CORRUPT PATCH Fixlet that is available for this patch to remedy corrupted JRE installations.

CVE:


Property Details

ID22442
StatusAlpha - Code that was just developed
TitleJava Runtime Environment 7 update 121 (32-bit) Available (JRE 7 32-bit version Installed) (x64)
DomainBESC
CategoryCritical Updates
Download Size29995072
SourceOracle
Source ID24849036
Source SeverityCritical
Source Release Date10/18/2016 12:00:00 AM
SANSIDUnspecified
KeywordsJRE, Java, Java 7, 7u121, 7 update 121, JRE 7
Added by on 10/26/2016 4:15:47 PM
Last Modified by on 10/26/2016 4:15:47 PM
Counters 1083 Views / 4 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 352 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 254 fixlets and 9 analyses * Results in a true/false
Show indented relevance
name of operating system as lowercase starts with "win"
Used in 219 fixlets and 1 analsis * Results in a true/false
Show indented relevance
x64 of operating system
Used in 100 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 7 fixlets * Results in a true/false
Show indented relevance
exists key 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)" OR value "DisplayName" of it as string as lowercase starts with "java 7") of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of x32 registry
Used in 14 fixlets * Results in a true/false
Show indented relevance
if (exists key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\JavaInstallation" of registry) then (not exists value "InstallingJava7_32" whose (it = 1) of key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\JavaInstallation" of registry) else true
Used in 1 fixlet * Results in a true/false
Show indented relevance
exists value "DisplayVersion" whose ((it = "7" and it < "7.0.121") of (((parenthesized part 1 of it & parenthesized part 2 of it) of match (regex "^([0-9]+\.[0-9]+\.)([0-9]*[1-9])*0+") of (it as string)) of it 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 7") 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 = "7" and it >= "7.0.121") of (((parenthesized part 1 of it & parenthesized part 2 of it) of match (regex "^([0-9]+\.[0-9]+\.)([0-9]*[1-9])*0+") of (it as string)) of it 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 7") of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of x32 registry

Actions

Action 1

Action Link Click here to initiate the deployment process.
Script Type tdevropa-test Action Script
begin prefetch block 
add prefetch item name = jre-7u121-windows-i586.exe sha1=975701afc975495555f3cdddca365cb9c17d2330 size=29995072 url={value of setting "_BESClient_AllowCustomRepoDownloads" of client | "http://download.oracle.com/MANUAL_BES_CACHING_REQUIRED/"}jre-7u121-windows-i586.exe sha256=231e5f1769d4c64380ee23fc2e1fee5b3e6a3a5b1bba60f70280fcac57dc8257
end prefetch block

continue if {not exists running application whose ((it = "java.exe" OR it = "javaw.exe" OR it = "javaws.exe" OR it = "iexplore.exe" OR it = "firefox.exe") of (name of it as lowercase))}

// 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]" "InstallingJava7_32"=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-7u121-windows-i586.exe /s


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-7u121-windows-i586.exe /s

endif

action may require restart "975701afc975495555f3cdddca365cb9c17d2330"

continue if {((exists value "DisplayVersion" whose ((it = "7" and it >= "7.0.121") of (((parenthesized part 1 of it & parenthesized part 2 of it) of match (regex "^([0-9]+\.[0-9]+\.)([0-9]*[1-9])*0+") of (it as string)) of it 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 7") 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]" "InstallingJava7_32"
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 tdevropa-test Action Script
begin prefetch block 
add prefetch item name = jre-7u121-windows-i586.exe sha1=975701afc975495555f3cdddca365cb9c17d2330 size=29995072 url={value of setting "_BESClient_AllowCustomRepoDownloads" of client | "http://download.oracle.com/MANUAL_BES_CACHING_REQUIRED/"}jre-7u121-windows-i586.exe sha256=231e5f1769d4c64380ee23fc2e1fee5b3e6a3a5b1bba60f70280fcac57dc8257
end prefetch block

// 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 {if (name of operating system = "WinXP" AND personal bit (suite mask of operating system)) then "tskill java /a" else "taskkill /F /IM java.exe"}
waithidden {if (name of operating system = "WinXP" AND personal bit (suite mask of operating system)) then "tskill javaw /a" else "taskkill /F /IM javaw.exe"}
waithidden {if (name of operating system = "WinXP" AND personal bit (suite mask of operating system)) then "tskill javaws /a" else "taskkill /F /IM javaws.exe"}
waithidden {if (name of operating system = "WinXP" AND personal bit (suite mask of operating system)) then "tskill iexplore /a" else "taskkill /F /IM iexplore.exe"}
waithidden {if (name of operating system = "WinXP" AND personal bit (suite mask of operating system)) then "tskill firefox /a" else "taskkill /F /IM firefox.exe"}

regset "[HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\JavaInstallation]" "InstallingJava7_32"=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-7u121-windows-i586.exe /s


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-7u121-windows-i586.exe /s

endif

action may require restart "975701afc975495555f3cdddca365cb9c17d2330"

continue if {((exists value "DisplayVersion" whose ((it = "7" and it >= "7.0.121") of (((parenthesized part 1 of it & parenthesized part 2 of it) of match (regex "^([0-9]+\.[0-9]+\.)([0-9]*[1-9])*0+") of (it as string)) of it 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 7") 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]" "InstallingJava7_32"
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://oracle.com/technetwork/java/javase/documentation/javase7supportreleasenotes-1601161.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://sans.org/top20/#c1
 


Comments

Log In or Register to leave comments!

Recommended Articles

event viewer reboot group policy shutdown script install hp universal print driver splunk inputs conf vcredist 2005 x64 microsoft framework 4.5.2 download windows live redistributable tivoli end point manager default java for browsers download msxml msi hp deskjet j611 hp laserjet m1210