Lucene search
K

TeamSpeak 3 Server Detection (UDP)

🗓️ 05 Feb 2017 00:00:00Reported by Copyright (C) 2017 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 92 Views

TeamSpeak 3 Server Detection (UDP) by Greenbone Networks GmbH. Detects a TeamSpeak 3 server using UDP based methods

Refs
Code
SourceLink
teamspeakwww.teamspeak.com/
# Copyright (C) 2017 Greenbone Networks GmbH
# 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-or-later
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.108070");
  script_version("2023-01-11T10:12:37+0000");
  script_tag(name:"last_modification", value:"2023-01-11 10:12:37 +0000 (Wed, 11 Jan 2023)");
  script_tag(name:"creation_date", value:"2017-02-05 13:05:06 +0100 (Sun, 05 Feb 2017)");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:N");
  script_tag(name:"cvss_base", value:"0.0");
  script_name("TeamSpeak 3 Server Detection (UDP)");
  script_category(ACT_GATHER_INFO);
  script_family("Product detection");
  script_copyright("Copyright (C) 2017 Greenbone Networks GmbH");
  script_dependencies("gb_open_udp_ports.nasl");
  script_require_udp_ports("Services/udp/unknown", 9987);

  script_tag(name:"summary", value:"UDP based detection of a TeamSpeak 3 server.");

  script_xref(name:"URL", value:"http://www.teamspeak.com/");

  script_tag(name:"qod_type", value:"remote_banner");

  exit(0);
}

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

proto = "udp";
port = unknownservice_get_port( default:9987, ipproto:proto );

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

# The TS3INIT packet
req = raw_string( 0x54, 0x53, 0x33, 0x49, 0x4e, 0x49, 0x54, 0x31, 0x00, 0x65, 0x00, 0x00, 0x88, 0x07, 0x95, 0x4b,
                  0x40, 0x00, 0x58, 0x97, 0x09, 0x2d, 0xf7, 0xbb, 0xb2, 0x12, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                  0x00, 0x00 );

send( socket:soc, data:req );
res = recv( socket:soc, length:64 );
close( soc );
if( ! res )
  exit( 0 );

len = strlen( res );
if( len != 32 && len != 16 )
  exit( 0 );

if( "TS3INIT1" >< res ) {

  version = "unknown";
  cpe = "cpe:/a:teamspeak:teamspeak3";
  install = port + "/" + proto;

  set_kb_item( name:"teamspeak3_server/detected", value:TRUE );
  set_kb_item( name:"teamspeak3_server/udp/detected", value:TRUE );

  service_register( port:port, proto:"ts3", ipproto:proto );

  register_product( cpe:cpe, location:install, port:port, proto:proto, service:"ts3" );
  log_message( data:build_detection_report( app:"TeamSpeak 3 Server",
                                            version:version,
                                            install:install,
                                            cpe:cpe ),
               port:port,
               proto:proto );
}

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

11 Jan 2023 00:00Current
7.3High risk
Vulners AI Score7.3
92