Sybase TCP/IP Listener Detection
🗓️ 27 Jan 2017 00:00:00Reported by Copyright (C) 2017 Greenbone AGType
openvas🔗 plugins.openvas.org👁 40 Views
# SPDX-FileCopyrightText: 2017 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.140129");
script_version("2024-06-20T05:05:33+0000");
script_tag(name:"last_modification", value:"2024-06-20 05:05:33 +0000 (Thu, 20 Jun 2024)");
script_tag(name:"creation_date", value:"2017-01-27 09:57:51 +0100 (Fri, 27 Jan 2017)");
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_tag(name:"qod_type", value:"remote_banner");
script_name("Sybase TCP/IP Listener Detection");
script_category(ACT_GATHER_INFO);
script_family("Product detection");
script_copyright("Copyright (C) 2017 Greenbone AG");
script_dependencies("find_service.nasl", "gb_microsoft_sql_server_tcp_ip_listener_detect.nasl", "oracle_tnslsnr_version.nasl");
script_require_ports("Services/unknown", 5000);
script_tag(name:"summary", value:"Detects a Sybase TCP/IP listener server by sending a login
packet and checking the response.");
exit(0);
}
include("host_details.inc");
include("misc_func.inc");
include("port_service_func.inc");
include("sybase_func.inc");
port = unknownservice_get_port( default:5000 );
if( ! soc = open_sock_tcp( port ) )
exit( 0 );
vt_strings = get_vt_strings();
creds = vt_strings["default"];
sql_packet = make_sql_login_pkt( username:creds, password:creds );
send( socket:soc, data:sql_packet );
send( socket:soc, data:pkt_lang );
buf = recv( socket:soc, length:255 );
close( soc );
if( "Login failed" >< buf ) {
set_kb_item( name:"sybase/tcp_listener/detected", value:TRUE );
set_kb_item( name:"sybase/tcp_listener/" + port + "/detected", value:TRUE );
cpe = "cpe:/a:sybase:adaptive_server_enterprise";
register_product( cpe:cpe, location:"/", port:port, service:"sybase_tcp_listener" );
service_register( proto:"sybase", port:port );
log_message( data:build_detection_report( app:"Sybase TCP/IP listener", install:"/", cpe:cpe,
skip_version:TRUE ),
port:port );
exit( 0 );
}
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
20 Jun 2024 00:00Current
7.3High risk
Vulners AI Score7.3