Lucene search
+L

SSH Brute Force Logins With Default Credentials Reporting

🗓️ 02 Nov 2016 00:00:00Reported by Copyright (C) 2016 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 1706 Views

SSH Brute Force Logins With Default Credentials Reportin

Related
Refs
Code
# SPDX-FileCopyrightText: 2016 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.103239");
  script_version("2026-06-10T06:59:19+0000");
  # nb:
  # - Unlike other VTs we're using the CVEs line by line here for easier addition of new CVEs / to
  #   avoid too large diffs when adding a new CVE
  # - See comments in default_credentials.inc on the origin for most of these CVEs
  script_cve_id("CVE-1999-0501",
                "CVE-1999-0502",
                "CVE-1999-0507",
                "CVE-1999-0508",
                "CVE-2005-1379",
                "CVE-2006-5288",
                "CVE-2009-3710",
                "CVE-2012-4577",
                "CVE-2016-1000245",
                "CVE-2017-16523",
                "CVE-2017-20214",
                "CVE-2018-25138",
                "CVE-2018-25147",
                "CVE-2019-25241",
                "CVE-2019-25291",
                "CVE-2020-29583",
                "CVE-2020-36915",
                "CVE-2020-37092",
                "CVE-2020-9473",
                "CVE-2021-27797",
                "CVE-2021-47744",
                "CVE-2023-1944",
                "CVE-2023-53983",
                "CVE-2024-22902",
                "CVE-2024-31970",
                "CVE-2024-46328",
                "CVE-2025-12592",
                "CVE-2025-41696",
                "CVE-2025-68718",
                "CVE-2026-36538",
                "CVE-2026-35905"
               );
  script_tag(name:"last_modification", value:"2026-06-10 06:59:19 +0000 (Wed, 10 Jun 2026)");
  script_tag(name:"creation_date", value:"2016-11-02 11:47:00 +0100 (Wed, 02 Nov 2016)");
  script_tag(name:"cvss_base", value:"10.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2024-02-07 17:37:40 +0000 (Wed, 07 Feb 2024)");
  script_name("SSH Brute Force Logins With Default Credentials Reporting");
  script_copyright("Copyright (C) 2016 Greenbone AG");
  script_category(ACT_ATTACK);
  script_family("Brute force attacks");
  script_dependencies("default_ssh_credentials.nasl");
  script_require_ports("Services/ssh", 22);
  script_mandatory_keys("default_ssh_credentials/started");

  # nb: This VT had a script preference with the id:1, newly added preferences in the future needs
  # to choose id:2 or higher to avoid conflicts with that removed preference still kept in gvmd
  # database.

  script_xref(name:"URL", value:"https://www.cisa.gov/known-exploited-vulnerabilities-catalog");
  script_xref(name:"CISA", value:"Known Exploited Vulnerability (KEV) catalog");

  script_tag(name:"summary", value:"It was possible to login into the remote SSH server using
  default credentials.");

  script_tag(name:"vuldetect", value:"Reports default credentials detected by the VT
  'SSH Brute Force Logins With Default Credentials' (OID: 1.3.6.1.4.1.25623.1.0.108013).");

  script_tag(name:"insight", value:"As the VT 'SSH Brute Force Logins With Default Credentials'
  (OID: 1.3.6.1.4.1.25623.1.0.108013) might run into a timeout the actual reporting of this
  vulnerability takes place in this VT instead.");

  script_tag(name:"impact", value:"This issue may be exploited by a remote attacker to e.g. gain
  access to sensitive information or modify system configuration.");

  script_tag(name:"affected", value:"The following products are known to use the default credentials
  checked by the VT 'SSH Brute Force Logins With Default Credentials' (OID:
  1.3.6.1.4.1.25623.1.0.108013) used for this reporting:

  - CVE-2017-16523: MitraStar GPT-2541GNAC (HGU) 1.00(VNJ0)b1 and DSL-100HN-T1 ES_113WJY0b16 devices

  - CVE-2017-20214: FLIR Thermal Camera F/FC/PT/D

  - CVE-2018-25138: FLIR AX8 Thermal Camera

  - CVE-2018-25147: Microhard Systems IPn4G

  - CVE-2019-25241: FaceSentry Access Control System

  - CVE-2019-25291: INIM Electronics Smartliving SmartLAN/G/SI

  - CVE-2020-29583: Zyxel Firewall / AP Controller

  - CVE-2020-36915: Adtec Digital SignEdje Digital Signage Player

  - CVE-2020-37092: Netis E1+ devices

  - CVE-2020-9473: S. Siedle & Soehne SG 150-0 Smart Gateway before 1.2.4

  - CVE-2021-27797: Brocade Fabric OS

  - CVE-2021-47744: Cypress Solutions CTM-200/CTM-ONE

  - CVE-2023-1944: minikube 1.29.0 and probably prior

  - CVE-2023-53983: Anevia Flamingo XL/XS

  - CVE-2024-22902: Vinchin Backup & Recovery

  - CVE-2024-31970: AdTran SRG 834-5 HDC17600021F1 devices (with SmartOS 11.1.1.1) during a window
  of time when the device is being set up

  - CVE-2024-46328: VONETS VAP11G-300 v3.3.23.6.9

  - CVE-2025-12592: Legacy Vivotek devices

  - CVE-2025-68718: KAYSUS KS-WR1200

  - CVE-2026-36538: Netis AC1200 Router NC21 V4.0.1.4296

  - CVE-2026-35905: T3 Technology CPE models T625Pro v1.0.07, T6825G v1.0.03 and T7281 v1.0.03

  - Various additional products like e.g. Ubiquiti EdgeMax / EdgeRouter, Crestron AM-100 and similar
  for which no CVE was assigned (See 'default_credentials.inc' file on the file system for a full
  list)

  Other products might be affected as well.");

  script_tag(name:"solution", value:"Change the password as soon as possible.");

  script_tag(name:"solution_type", value:"Mitigation");
  script_tag(name:"qod_type", value:"remote_active");

  exit(0);
}

include("host_details.inc");
include("ssh_func.inc");
include("misc_func.inc");
include("port_service_func.inc");

port = ssh_get_port( default:22 );

credentials = get_kb_list( "default_ssh_credentials/" + port + "/credentials" );
if( ! isnull( credentials ) ) {

  report = 'It was possible to login with the following credentials <User>:<Password>\n\n';

  # Sort to not report changes on delta reports if just the order is different
  credentials = sort( credentials );

  foreach credential( credentials ) {
    report += credential + '\n';
    vuln = TRUE;
  }
}

if( vuln ) {
  c = get_kb_item( "default_ssh_credentials/" + port + "/too_many_logins" );
  if( c ) {
    report += '\nRemote host accept more than ' + c + ' logins. This could indicate some error or some "broken" device.\nScanner stops testing for default logins at this point.';
  }
  security_message( port:port, data:chomp( report ) );
  exit( 0 );
}

exit( 99 );

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