Lucene search
+L

Quagga Server No Password (TCP)

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

Quagga Server No Password. Remote server not protected with a password, allowing unauthorized access and system configuration modification

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

CPE = "cpe:/a:quagga:quagga";

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.105552");
  script_version("2025-11-25T05:40:35+0000");
  script_tag(name:"cvss_base", value:"7.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_tag(name:"last_modification", value:"2025-11-25 05:40:35 +0000 (Tue, 25 Nov 2025)");
  script_tag(name:"creation_date", value:"2016-02-16 17:31:57 +0100 (Tue, 16 Feb 2016)");

  script_name("Quagga Server No Password (TCP)");

  # nb: No attacking request (just "grabbing" a login banner) so no ACT_ATTACK
  script_category(ACT_GATHER_INFO);
  script_family("Default Accounts");
  script_copyright("Copyright (C) 2016 Greenbone AG");
  # nb: No need to disable via default_credentials/disable_default_account_checks or
  # gb_default_credentials_options.nasl because this isn't doing any login...
  script_dependencies("gb_quagga_remote_detect.nasl", "global_settings.nasl");
  script_require_ports("Services/quagga", 2602);
  script_mandatory_keys("quagga/installed");
  script_exclude_keys("keys/is_private_lan_or_wan");

  script_tag(name:"summary", value:"The remote Quagga server is not protected with a password.");

  script_tag(name:"vuldetect", value:"Connects to the remote Quagga server and checks if a password
  is needed.

  Note:

  If the scanned network is e.g. a private LAN / private WAN which contains systems not accessible
  to the public (access restricted) and it is accepted that the service is accessible without
  authentication please set the 'Network type' configuration of the following VT to e.g.
  'Private LAN' or 'Private WAN':

  Global variable settings (OID: 1.3.6.1.4.1.25623.1.0.12288)");

  script_tag(name:"insight", value:"It was possible to login without a password.");

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

  script_tag(name:"solution", value:"Set a password.");

  script_tag(name:"solution_type", value:"Workaround");
  script_tag(name:"qod_type", value:"remote_vul");

  exit(0);
}

include("host_details.inc");
include("network_func.inc");

# nb: This might be acceptable from user side if the system is located within a restricted LAN/WAN
# so allow these cases via the configuration within global_settings.nasl.
if( net_setting_is_private_lan_or_wan() )
  exit( 0 );

if( ! port = get_app_port( cpe:CPE ) )
  exit( 0 );

if( ! get_app_location( cpe:CPE, port:port, nofork:TRUE ) )
  exit( 0 );

if( ! soc = open_sock_tcp( port ) )
  exit( 0 );

recv = recv( socket:soc, length:512 );

if( "Password:" >< recv ) {
  close( soc );
  exit( 99 );
}

send( socket:soc, data:'?\r\n' );

recv = recv( socket:soc, length:512 );
close( soc );

if( "echo" >!< recv || "enable" >!< recv || "terminal" >!< recv )
  exit( 0 );

report = 'It was possible to access the remote Quagga without a password.\n\nData received:\n\n' + recv;
security_message( port:port, data:report );

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

25 Nov 2025 00:00Current
7High risk
Vulners AI Score7
16