Lucene search
+L

DameWare Mini Remote Control Information Disclosure

🗓️ 03 Nov 2005 00:00:00Reported by Copyright (C) 2005 Noam RathausType 
openvas
 openvas
🔗 plugins.openvas.org👁 19 Views

The remote host runs DameWare Mini Remote Control, allowing attackers to determine the OS type and installed Service Pack

Code
# SPDX-FileCopyrightText: 2005 Noam Rathaus
# 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.11968");
  script_version("2023-08-01T13:29:10+0000");
  script_tag(name:"last_modification", value:"2023-08-01 13:29:10 +0000 (Tue, 01 Aug 2023)");
  script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");

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

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

  script_name("DameWare Mini Remote Control Information Disclosure");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2005 Noam Rathaus");
  script_family("General");
  script_dependencies("find_service.nasl", "find_service2.nasl");
  script_require_ports("Services/dameware", 6129);

  script_tag(name:"summary", value:"The remote host is running DameWare Mini Remote Control.
  This program allows remote attackers to determine the OS type and
  which Service Pack is installed on the server.");

  script_tag(name:"solution", value:"Filter out incoming traffic to this port to minimize the
  threat.");

  exit(0);
}

include("port_service_func.inc");

port = service_get_port( default:6129, proto:"dameware" );


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

rec = recv( socket:soc, length:8192 );

if( ! ( ( rec[0] == raw_string( 0x30 ) ) && ( rec[1] == raw_string( 0x11 ) ) ) ) {
  close( soc );
  exit( 0 );
}

rec = insstr( rec, raw_string( 0x00 ), 28, 28 );
rec = insstr( rec, raw_string( 0x01 ), 36, 36 );

send( socket:soc, data:rec );

rec = recv( socket:soc, length:8192 );
close( soc );

if( ! ( ( rec[0] == raw_string( 0x10 ) ) && ( rec[1] == raw_string( 0x27 ) ) ) ) {
  exit( 0 );
}

if( ( rec[16] == raw_string( 0x28 ) ) && ( rec[17] == raw_string( 0x0a ) ) ) {
  windows_version = "Windows XP";
}

if( ( rec[16] == raw_string( 0x93 ) ) && ( rec[17] == raw_string( 0x08 ) ) ) {
  windows_version = "Windows 2000";
}

if( ! windows_version ) {
  exit( 0 );
}

service_pack = ""; # nb: To make openvas-nasl-lint happy...
for( i = 24; rec[i] != raw_string( 0x00 ); i++ ) {
  service_pack += rec[i];
}

report = "Using DameWare mini remote control, it was possible to determine that the remote host is running ";
report += windows_version;
report += " - ";
report += service_pack;

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