UCF STIG Viewer Logo

Oracle JRE 8 deployment.config file must contain proper keys and values.


Overview

Finding ID Version Rule ID IA Controls Severity
V-66909 JRE8-UX-000020 SV-81399r2_rule Medium
Description
The deployment.config configuration file contains two keys. The "deployment.properties" key includes the path of the "deployment.properties" file and the "deployment.properties.mandatory" key contains either a TRUE or FALSE value. If the path specified to "deployment.properties" does not lead to a "deployment.properties" file, the value of the “deployment.system.config.mandatory” key determines how JRE will handle the situation. If the value of the "deployment.system.config.mandatory" key is TRUE and if the path to the "deployment.properties" file is invalid, the JRE will not allow Java applications to run. This is the desired behavior.
STIG Date
Java Runtime Environment (JRE) version 8 STIG for Unix 2017-09-27

Details

Check Text ( C-67545r2_chk )
Navigate to the “deployment.config” file for JRE:

/etc/.java/deployment/deployment.config

The deployment.config file contains two properties: deployment.system.config and deployment.system.config.mandatory.

The "deployment.system.config" key points to the location of the deployment.properties file. The location is variable. It can point to a file on the local disk, or a UNC path. The following is an example:
“deployment.system.config=/etc/.java/deployment/deployment.properties"

If the “deployment.system.config” key does not exist or does not point to the location of the deployment.properties file, this is a finding.

If the “deployment.system.config.mandatory” key does not exist or is set to false, this is a finding.
Fix Text (F-73009r2_fix)
Navigate to the “deployment.config” file for JRE:

/etc/.java/deployment/deployment.config

Add the key “deployment.system.config=” to the deployment.config file. The following is an example:
“deployment.system.config=/etc/.java/deployment/deployment.properties". Note the use of forward slashes.

Add the key “deployment.system.config.mandatory=true” to the deployment.config file.