Lucene search
K

Sunway ForceControl WebServer 'httpsvr.exe' Buffer Overflow Vulnerability

🗓️ 13 Sep 2011 00:00:00Reported by Copyright (c) 2011 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 16 Views

Sunway ForceControl WebServer 'httpsvr.exe' Buffer Overflow Vulnerability affecting Sunway ForceControl 6.1 SP1, SP2, and SP3. Successful exploitation allows remote attackers to cause denial of service or execute arbitrary code. Vendor has released a patch for the issue

Related
Refs
Code
ReporterTitlePublishedViews
Family
ATTACKERKB
CVE-2011-2960
29 Jul 201119:55
attackerkb
Circl
CVE-2011-2960
17 Jun 201100:00
circl
CVE
CVE-2011-2960
29 Jul 201119:00
cve
Cvelist
CVE-2011-2960
29 Jul 201119:00
cvelist
ICS
Sunway Force Control
19 Mar 201106:00
ics
NVD
CVE-2011-2960
29 Jul 201119:55
nvd
OpenVAS
Sunway ForceControl WebServer 'httpsvr.exe' Buffer Overflow Vulnerability
13 Sep 201100:00
openvas
Prion
Heap overflow
29 Jul 201119:55
prion
RedhatCVE
CVE-2011-2960
22 May 202509:50
redhatcve
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_sunway_force_control_webserver_bof_vuln.nasl 7019 2017-08-29 11:51:27Z teissa $
#
# Sunway ForceControl WebServer 'httpsvr.exe' Buffer Overflow Vulnerability
#
# 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 will allow remote attackers to cause
denial of service or execute arbitrary code.

Impact Level: System/Application";

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

tag_insight = "The flaw exists due to an error in the WebServer component
(httpsvr.exe) and can be exploited to cause a heap-based buffer overflow via
a specially crafted URL sent in a web request.";

tag_solution = "Vendor has released a patch to fix the issue, please refer
below link for patch information.
http://www.sunwayland.com.cn/news_info_.asp?Nid=3593";

tag_summary = "This host is installed with Sunway ForceControl and is prone to
buffer overflow vulnerability.";

if(description)
{
  script_id(802156);
  script_version("$Revision: 7019 $");
  script_tag(name:"last_modification", value:"$Date: 2017-08-29 13:51:27 +0200 (Tue, 29 Aug 2017) $");
  script_tag(name:"creation_date", value:"2011-09-13 07:51:43 +0200 (Tue, 13 Sep 2011)");
  script_cve_id("CVE-2011-2960");
  script_bugtraq_id(48328);
  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("Sunway ForceControl WebServer 'httpsvr.exe' Buffer Overflow Vulnerability");
  script_xref(name : "URL" , value : "http://secunia.com/advisories/45033");
  script_xref(name : "URL" , value : "http://www.exploit-db.com/exploits/17721/");
  script_xref(name : "URL" , value : "http://www.cnvd.org.cn/vulnerability/CNVD-2011-05347");
  script_xref(name : "URL" , value : "http://www.sunwayland.com.cn/news_info_.asp?Nid=3593");
  script_xref(name : "URL" , value : "http://www.us-cert.gov/control_systems/pdf/ICSA-11-167-01.pdf");

  script_tag(name:"qod_type", value:"executable_version");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (c) 2011 Greenbone Networks GmbH");
  script_family("Buffer overflow");
  script_dependencies("secpod_reg_enum.nasl");
  script_mandatory_keys("SMB/WindowsVersion");
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  exit(0);
}


include("smb_nt.inc");
include("version_func.inc");
include("secpod_smb_func.inc");

if(!get_kb_item("SMB/WindowsVersion")){
  exit(0);
}

key = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\";
if(!registry_key_exists(key:key)){
  exit(0);
}

foreach item (registry_enum_keys(key:key))
{
  ## Check for Sunway ForceControl DisplayName
  sunName = registry_get_sz(key:key + item, item:"DisplayName");
  if("Forcecontrol" >< sunName)
  {
    ## Get the version of Sunway ForceControl
    sunVer = registry_get_sz(key:key + item, item:"DisplayVersion");
    if("6.1" >< sunVer)
    {
      ## Get the path of httpsvr.exe
      exePath = registry_get_sz(key:key + item, item:"InstallLocation");
      if(!isnull(exePath))
      {
        httpVer = fetch_file_version(sysPath:exePath, file_name:"httpsvr.exe");
        if(httpVer != NULL)
        {
          ## Check for httpsvr.exe version <= 6.0.5.3
          if(version_is_less_equal(version:httpVer, test_version:"6.0.5.3")){
            security_message(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

29 Aug 2017 00:00Current
1.6Low risk
Vulners AI Score1.6
EPSS0.31404
16