SV-222969r615938_rule
V-222969
SRG-APP-000211-AS-000146
TCAT-AS-000780
CAT II
10
Make an operational determination regarding the use of JMX. If JMX management is decided upon, identify the management networks that are used for system management. Update the system security plan and network documentation with the information.
Edit the /etc/systemd/system/tomcat.service file.
Add or modify the existing CATALINA_OPTS -Dcom.sun.management.jmxremote.host setting. Set the host parameter to an IP address that is only available on a management network.
EXAMPLE:
CATALINA_OPTS='-Dcom.sun.management.jmxremote.host=192.168.0.150'
Restart Tomcat:
sudo systemctl restart tomcat
sudo systemctl daemon-reload
Verify jmxmanagement access is restricted to the management network IP address range.
Review the system security plan and network documentation. Identify the management networks that are used for system management.
From the Tomcat server as a privileged user, run the following command:
sudo grep -i jmxremote /etc/systemd/system/tomcat.service
sudo ps -ef |grep -i jmxremote
If there are no results, the JMX process is not being used, and this is not a finding.
If output includes jmxremote information, review the -Dcom.sun.management.jmxremote.host setting.
Compare the IP address associated with the JMX process with the network information in the SSP. Ensure the IP address space is dedicated for system management purposes.
If the IP address that is associated with the JMX process is not dedicated to system management usage, this is a finding.
If jmxremote is in use but the host IP address is not specified, this is a finding.
V-222969
False
TCAT-AS-000780
Review the system security plan and network documentation. Identify the management networks that are used for system management.
From the Tomcat server as a privileged user, run the following command:
sudo grep -i jmxremote /etc/systemd/system/tomcat.service
sudo ps -ef |grep -i jmxremote
If there are no results, the JMX process is not being used, and this is not a finding.
If output includes jmxremote information, review the -Dcom.sun.management.jmxremote.host setting.
Compare the IP address associated with the JMX process with the network information in the SSP. Ensure the IP address space is dedicated for system management purposes.
If the IP address that is associated with the JMX process is not dedicated to system management usage, this is a finding.
If jmxremote is in use but the host IP address is not specified, this is a finding.
M
4094