4.1.1.16 Ensure access on /var/tmp/snmpd.log is configured

Information

The /var/tmp/snmpd.log is the logfile used by snmpd daemon, and contains network and machine related information.

The /var/tmp/snmpd.log logfile contains sensitive information through which an attacker can find out about the SNMP deployment architecture in your network. This log file must be secured from unauthorized access.

Solution

Remove world read and write from /var/tmp/snmpd.log:

chmod o-rw /var/tmp/snmpd.log

See Also

https://workbench.cisecurity.org/benchmarks/10385

Item Details

Category: ACCESS CONTROL, MEDIA PROTECTION

References: 800-53|AC-3, 800-53|AC-5, 800-53|AC-6, 800-53|MP-2, CSCv7|14.6

Plugin: Unix

Control ID: 43d2ff16558230a59497127dc86a4d2930a79d0d174b27b541b4b2a6ce6e8f5f