UCF STIG Viewer Logo

The snmpd service must not use a default password.


Overview

Finding ID Version Rule ID IA Controls Severity
V-209043 OL6-00-000341 SV-209043r793764_rule High
Description
Presence of the default SNMP password enables querying of different system aspects and could result in unauthorized knowledge of the system.
STIG Date
Oracle Linux 6 Security Technical Implementation Guide 2021-12-03

Details

Check Text ( C-9296r357914_chk )
To ensure the default password is not set, run the following command:

# grep -v "^#" /etc/snmp/snmpd.conf| grep public

There should be no output.
If there is output, this is a finding.
Fix Text (F-9296r357915_fix)
Edit "/etc/snmp/snmpd.conf", remove default community string "public". Upon doing that, restart the SNMP service:

# service snmpd restart