CNSP practice question 12 of 15
You are performing a security audit on a company's network infrastructure and have discovered the SNMP community string set to the default value of "public" on several devices. What security risks could this pose, and how might you exploit it?
Full set: 60 questionsDomain Network Security Assessment and Monitoring
In SNMP v1/v2c the default community string “public” is mapped by virtually all network-equipment vendors to the read-only access class. If left unchanged, any unauthenticated host that can reach UDP/161 on the device may issue SNMP-GET or bulk-walk requests and obtain interface tables, routing information, software versions, etc. A penetration tester (or attacker) would typically exploit this with utilities such as snmpwalk or snmp-bulkwalk to enumerate the device’s MIB. Because “public” is read-only, it cannot be used for SNMP-SET operations that alter configuration; that requires the separate read-write community string (commonly “private”).
B. “public” is read-only; SNMP-SET commands need the read-write community (e.g., “private”), so configuration changes are not possible.
C. Includes option B, which is incorrect for the reason above.
D. Risks do exist; leaving “public” enabled exposes significant information disclosure.
1. Cisco Systems, “Simple Network Management Protocol Security Features,” Cisco IOS Security Configuration Guide, Release 15, Sec. “Configuring Community Strings” – para. 2: “public (read-only)… private (read-write).”
2. Cisco Systems, “Hardening Cisco IOS Devices,” v3.0, p. 29: “If the default ‘public’ string is not removed, attackers can perform SNMP walks and obtain topology and configuration data.”
3. NIST SP 800-115, “Technical Guide to Information Security Testing and Assessment,” Sept 2008, Sec. 4.3.4 (SNMP Enumeration), p. 4-12: “Devices that retain default community strings such as ‘public’ allow unauthorized information retrieval.”
4. MIT OpenCourseWare, 6.858 “Computer Systems Security,” Lecture 23 slides, slide 18: “SNMP defaults: ‘public’ → read-only, ‘private’ → read-write; change them or disable SNMP.”
Keep practicing
Take the free CNSP practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CNSP practice questions
- Question 1Which Kerberos ticket is required to generate a Silver Ticket?
- Question 2What is the response from a closed UDP port which is not behind a firewall?
- Question 3Which of the following techniques can be used to bypass network segmentation during infra…
- Question 4What RID is given to an Administrator account on a Microsoft Windows machine?
- Question 6On a Microsoft Windows Operating System, what does the following command do? net localgro…
- Question 7The Management Information Base (MIB) is a collection of object groups that is managed by…
