Check default community names of the SNMP Agent
🗓️ 03 Nov 2005 00:00:00Reported by Copyright (C) 2005 SecuriTeamType
openvas🔗 plugins.openvas.org👁 473 Views
| Reporter | Title | Published | Views | Family All 35 |
|---|---|---|---|---|
| CVE-2020-5364 | 15 May 202000:00 | – | attackerkb | |
| CVE-2025-12217 | 25 Oct 202515:46 | – | circl | |
| Hard-Coded SNMP Community Names in Cisco Industrial Ethernet 3000 Series Switches Vulnerability | 7 Jul 201016:00 | – | cisco | |
| Azure Access Technology BLU-IC2和Azure Access Technology BLU-IC4 安全漏洞 | 25 Oct 202500:00 | – | cnnvd | |
| Dell EMC Isilon OneFS Security Feature Issue Vulnerability (CNVD-2020-31248) | 21 May 202000:00 | – | cnvd | |
| Unspecified Vulnerability in Azure Access Technology BLU-IC2 and Azure Access Technology BLU-IC4 (CNVD-2025-29092) | 31 Oct 202500:00 | – | cnvd | |
| CVE-2008-1524 | 26 Mar 200810:00 | – | cve | |
| CVE-2010-1574 | 8 Jul 201018:00 | – | cve | |
| CVE-2020-5364 | 20 May 202020:45 | – | cve | |
| CVE-2025-12217 | 25 Oct 202515:39 | – | cve |
10
# SPDX-FileCopyrightText: 2005 SecuriTeam
# SPDX-FileCopyrightText: New code and default communities since 2009 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.103914");
script_version("2025-10-28T05:40:26+0000");
script_tag(name:"last_modification", value:"2025-10-28 05:40:26 +0000 (Tue, 28 Oct 2025)");
script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
script_tag(name:"cvss_base", value:"0.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:N");
script_xref(name:"IAVA", value:"2001-B-0001");
script_name("Check default community names of the SNMP Agent");
script_category(ACT_SETTINGS);
script_copyright("Copyright (C) 2005 SecuriTeam");
script_family("SNMP");
script_dependencies("gb_open_udp_ports.nasl", "gb_default_credentials_options.nasl");
script_require_udp_ports(161);
script_exclude_keys("default_credentials/disable_brute_force_checks");
script_xref(name:"URL", value:"http://www.securityfocus.com/archive/1/313714/2003-03-01/2003-03-07/0");
script_xref(name:"URL", value:"https://web.archive.org/web/20070428232535/http://www.iss.net/issEn/delivery/xforce/alertdetail.jsp?id=advise15");
script_tag(name:"summary", value:"The script sends a connection request to the server and attempts
to login with default communities. Successful logins are storen in the KB.");
script_tag(name:"qod_type", value:"remote_banner");
exit(0);
}
include("list_array_func.inc");
include("misc_func.inc");
# If optimize_test = no
if( get_kb_item( "default_credentials/disable_brute_force_checks" ) )
exit( 0 );
#nb: Don't use UDP/PORTS or snmp_get_port() as the check below is quite unreliable against other non-snmp UDP services
port = 161;
if( ! get_udp_port_state( port ) )
exit( 0 );
communities = make_list(
"Cisco router", # for Cisco equipment
"EyesOfNetwork", # Eyes of Network (EON)
"cable-docsis", # for Cisco equipment (CVE-2006-4950)
"cascade", # for Lucent equipment
"comcomcom", # for 3COM AirConnect AP
"rmonmgmtuicommunity", # 2016/gb_cisco_sg220_cisco-sa-20160831-sps3.nasl (CVE-2016-1473)
"ROUTERmate", # CVE-1999-0792
"tellmeyoursecrets", # BID 7081
"SmartScanServer", # Default from CVE-2016-6267
"wheel", # https://blogs.cisco.com/security/talos/rockwell-snmp-vuln
# From https://lkhill.com/brocade-vdx-snmp-changes/ and http://h20564.www2.hpe.com/hpsc/doc/public/display?docId=mmr_kc-0127107
"ConvergedNetwork",
# Brocade Fabric OS, see e.g.:
# - https://techdocs.broadcom.com/us/en/fibre-channel-networking/fabric-os/fabric-os-web-tools/9-1-x/v26882500/v26815803/v26850344.html)
# - https://adminhelpline.blogspot.com/2015/01/brocade-san-switch-snmp-configuration.html
# - https://pierrekim.github.io/blog/2025-03-31-brocade-switches-10-vulnerabilities.html#insecure-snmp
# nb:
# - CVE-2024-5460 mentions "Brocade Fabric OS versions prior to v9.0 have default community strings"
# which seems to be those ones below
# - "private" and "public" are already included separately below
# - Advisories are showing differences between lower/uppercase and quotes/no quotes for some of the communities
"secret c0de",
'"secret c0de"',
"Secret C0de",
'"Secret C0de"',
"common",
"FibreChannel",
"OrigEquipMfr",
# CVE-2002-1229, https://marc.info/?l=bugtraq&m=103470243012971&w=2
"diag",
"manuf",
"danger",
"xxyyzz",
# Most of the below from https://github.com/fuzzdb-project/fuzzdb/blob/master/wordlists-misc/wordlist-common-snmp-community-strings.txt
# Many, including e.g.:
# - Cisco Industrial Ethernet 3000 Series Switches (CVE-2010-1574)
# - ZyXEL Prestige routers (CVE-2008-1524)
# - Ericsson ACC Tigris Platform
# - Azure Access Technology BLU-IC2 / BLU-IC4 (CVE-2025-12217)
"public",
# Many, including e.g.:
# - Cisco Industrial Ethernet 3000 Series Switches (CVE-2010-1574)
# - ZyXEL Prestige routers (CVE-2008-1524)
"private",
"0",
"0392a0",
"1234",
"2read",
"4changes",
"ANYCOM", # for 3COM NetBuilder
"Admin",
"C0de",
"CISCO",
"CR52401",
"IBM",
# Seems to be for Cisco IOS:
# https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20010227-ios-snmp-ilmi
"ILMI",
"I$ilonpublic", # Dell EMC Isilon OneFS (CVE-2020-5364)
"Intermec",
"NoGaH$@!", # Avaya
"PRIVATE",
"PUBLIC",
"Private",
"Public",
"SECRET",
"SECURITY",
"SNMP",
"SNMP_trap",
"SUN",
"SWITCH",
"SYSTEM",
"Secret",
"Security",
"s!a@m#n$p%c", # 2012/gb_samsung_printer_snmp_auth_bypass_vuln.nasl (CVE-2012-4964)
"Switch",
"System",
"TENmanUFactOryPOWER",
"TEST",
"access",
"adm",
"admin",
"agent",
"agent_steal", # CVE-2001-1210
"all",
# Advisories are showing differences between lower/uppercase and quotes/no quotes for these two communities:
"all private", # Solaris 2.5.1 and 2.6
'"all private"', # Solaris 2.5.1 and 2.6
"all public",
"apc", # for APC Web/SNMP Management Card AP9606
"bintec",
"blue", # HP JetDirect equipement
"c", # for Cisco equipment
"cable-d",
"canon_admin",
"carel", # CAREL pCOWeb
"cc", # for Cisco equipment
"cisco",
"community",
"core", # Cisco Aironet
"debug",
"default",
"dilbert",
"enable",
"field",
"field-service",
"freekevin", # CVE-2001-1210
"fubar", # CVE-2001-1210
"guest",
"hello",
"hp_admin",
"ibm",
"ilmi",
"intermec",
"internal", # HP JetDirect equipement
"l2",
"l3",
"manager",
"mngt",
"monitor",
"netman",
"network",
"none",
"openview",
"pass",
"password",
"pr1v4t3",
"proxy", # Cisco Aironet
"publ1c",
"read",
"read-only",
"read-write",
"readwrite",
"red",
"regional", # Cisco Aironet
"rmon",
"rmon_admin",
"ro",
"root",
"router",
"rw",
"rwa",
"san-fran",
"sanfran",
"scotty",
"secret", # for Cisco equipment
"security",
"seri",
"snmp",
"snmpd", # HP SNMP agent
"snmptrap",
"solaris",
"sun",
"superuser",
"switch",
"system",
"tech",
"test",
"test2",
"tiv0li",
"tivoli",
"trap",
"world",
"write", # for Cisco equipment
"xyzzy", # CVE-2001-1210
"yellow", # HP JetDirect equipement
# From https://web.archive.org/web/20210507033515/http://www.phenoelit.org/dpl/dpl.html
"volition",
"MiniAP",
"snmp-Trap",
# Used in a LibreNMS config file as described here:
# https://docs.librenms.org/Installation/Install-LibreNMS/#enable-lnms-command-completion
# and could be left "as is" if the user is missing to change the file after copying it.
"RANDOMSTRINGGOESHERE",
# From https://info.support.huawei.com/hedex/api/pages/EDOC1000163559/YEI0812D/19/resources/en-us_topic_0000002026618481.html
"roAdmin12#$",
"rwAdmin12#$",
"roAdministrator@9000",
"rwAdministrator@9000"
);
# Add domain name parts, create_hostname_parts_list() always returns a list, even an empty one
hnlist = create_hostname_parts_list();
# nb: No need to check for an empty "name" string here (create_hostname_parts_list() could return an
# empty list) as foreach seems to be able to handle this.
foreach name( hnlist ) {
if( ! in_array( search:name, array:communities ) )
communities = make_list( communities, name ); # nb: The name is not already in the list
}
count = 0;
# We don't use the SNMP functions from snmp_func.inc since they are too slow for brute forcing
for( i = 0; communities[i]; i++ ) {
community = communities[i];
SNMP_BASE = 31;
COMMUNITY_SIZE = strlen( community );
sz = COMMUNITY_SIZE % 256;
len = SNMP_BASE + COMMUNITY_SIZE;
len_hi = len / 256;
len_lo = len % 256;
sendata = raw_string( 0x30, 0x82, len_hi, len_lo,
0x02, 0x01, 0x00, 0x04, sz );
sendata = sendata + community +
raw_string( 0xA1, 0x18, 0x02, 0x01, 0x01,
0x02, 0x01, 0x00, 0x02, 0x01,
0x00, 0x30, 0x0D, 0x30, 0x82,
0x00, 0x09, 0x06, 0x05, 0x2B,
0x06, 0x01, 0x02, 0x01, 0x05,
0x00 );
dstport = port;
soc[i] = open_sock_udp( dstport );
send( socket:soc[i], data:sendata );
usleep( 10000 ); # Cisco don't like to receive too many packets at the same time
}
for( j = 0; communities[j]; j++ ) {
result = recv( socket:soc[j], length:200, timeout:1 );
close( soc[j] );
if( result ) {
count++;
set_kb_item( name:"SNMP/" + port + "/v12c/detected_community", value:communities[j] );
set_kb_item( name:"SNMP/v12c/detected_community", value:TRUE );
}
}
if( count > 4 ) {
set_kb_item( name:"SNMP/" + port + "/v12c/all_communities", value:TRUE );
}
exit( 0 );
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
28 Oct 2025 00:00Current
8.6High risk
Vulners AI Score8.6
CVSS 210
CVSS 3.15.3 - 9.1
CVSS 46.9
EPSS0.04733
SSVC