SV-204627r603261_rule
V-204627
SRG-OS-000480-GPOS-00227
RHEL-07-040800
CAT I
10
If the "/etc/snmp/snmpd.conf" file exists, modify any lines that contain a community string value of "public" or "private" to another string value.
Verify that a system using SNMP is not using default community strings.
Check to see if the "/etc/snmp/snmpd.conf" file exists with the following command:
# ls -al /etc/snmp/snmpd.conf
-rw------- 1 root root 52640 Mar 12 11:08 snmpd.conf
If the file does not exist, this is Not Applicable.
If the file does exist, check for the default community strings with the following commands:
# grep public /etc/snmp/snmpd.conf
# grep private /etc/snmp/snmpd.conf
If either of these commands returns any output, this is a finding.
V-204627
False
RHEL-07-040800
Verify that a system using SNMP is not using default community strings.
Check to see if the "/etc/snmp/snmpd.conf" file exists with the following command:
# ls -al /etc/snmp/snmpd.conf
-rw------- 1 root root 52640 Mar 12 11:08 snmpd.conf
If the file does not exist, this is Not Applicable.
If the file does exist, check for the default community strings with the following commands:
# grep public /etc/snmp/snmpd.conf
# grep private /etc/snmp/snmpd.conf
If either of these commands returns any output, this is a finding.
M
2899