UCF STIG Viewer Logo

The snmpd service must use only SNMP protocol version 3 or newer.


Overview

Finding ID Version Rule ID IA Controls Severity
V-209042 OL6-00-000340 SV-209042r793763_rule Medium
Description
Earlier versions of SNMP are considered insecure, as they potentially allow unauthorized access to detailed system management information.
STIG Date
Oracle Linux 6 Security Technical Implementation Guide 2021-12-03

Details

Check Text ( C-9295r357911_chk )
To ensure only SNMPv3 or newer is used, run the following command:

# grep 'v1\|v2c\|com2sec' /etc/snmp/snmpd.conf | grep -v '^#'

There should be no output.
If there is output, this is a finding.
Fix Text (F-9295r357912_fix)
Edit "/etc/snmp/snmpd.conf", removing any references to "v1", "v2c", or "com2sec". Upon doing that, restart the SNMP service:

# service snmpd restart