CVE-2008-6123: Input Validation
A possibility of sensitive host information disclosure was found in the implementation of SNMP protocol as defined in RFC 1065, RFC 1066, and RFC 1067. If the snmpd deamon was running on the host, it served the SNMP queries regardless of the fact, the IP address of the requester was not mentioned in the list of hosts allowed to issue / request SNMP MIB objects information. Remote attacker could use this flaw to gain host related sensitive information via performing a SNMP query.
References: http://bugs.gentoo.org/showbug.cgi?id=250429
Upstream patch: http://net-snmp.svn.sourceforge.net/viewvc/net-snmp?view=rev&revision=17367
Other sources
The netsnmpudpfmtaddr function (snmplib/snmpUDPDomain.c) in net-snmp 5.0.9 through 5.4.2.1, when using TCP wrappers for client authorization, does not properly parse hosts.allow rules, which allows remote attackers to bypass intended access restrictions and execute SNMP queries, related to "source/destination IP address confusion."
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Restrict access to the host SNMP service to trusted management IPs using network firewall rules or host-based firewall/ACLs to prevent unauthorized remote SNMP queries (mitigates bypass of hosts.allow checks).
Event History
Frequently Asked Questions
What is the severity of CVE-2008-6123?
CVE-2008-6123 is considered a moderate severity vulnerability due to potential sensitive information disclosure.
How do I fix CVE-2008-6123?
To fix CVE-2008-6123, upgrade the Net-SNMP software to a version that includes the patch addressing this vulnerability.
Which software is affected by CVE-2008-6123?
CVE-2008-6123 affects specific versions of Net-SNMP including 5.0.9, 5.0.10, and other versions up to 5.4.2.
What type of vulnerability is CVE-2008-6123?
CVE-2008-6123 is a vulnerability that allows for sensitive host information disclosure through the SNMP protocol.
Is CVE-2008-6123 still a concern for current systems?
CVE-2008-6123 can still be a concern if the affected versions of Net-SNMP are running on current systems without appropriate updates.