Lucene search
+L

Sunway ForceControl WebServer 'httpsvr.exe' Buffer Overflow Vulnerability

🗓️ 13 Sep 2011 00:00:00Reported by Copyright (C) 2011 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 26 Views

Sunway ForceControl WebServer 'httpsvr.exe' Buffer Overflow Vulnerability. Heap-based buffer overflow via a specially crafted URL can cause denial of service or execute arbitrary code. Vendor has released a patch to fix the issue

Related
Refs
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2011-2960
29 Jul 201119:55
attackerkb
circl
Circl
CVE-2011-2960
17 Jun 201100:00
circl
cve
CVE
CVE-2011-2960
29 Jul 201119:00
cve
cvelist
Cvelist
CVE-2011-2960
29 Jul 201119:00
cvelist
exploitdb
Exploit DB
Sunway ForceControl 6.1 - Multiple Heap Buffer Overflow Vulnerabilities
17 Jun 201100:00
exploitdb
ics
ICS
Sunway Force Control
19 Mar 201106:00
ics
nvd
NVD
CVE-2011-2960
29 Jul 201119:55
nvd
openvas
OpenVAS
Sunway ForceControl WebServer 'httpsvr.exe' Buffer Overflow Vulnerability
13 Sep 201100:00
openvas
prion
Prion
Heap overflow
29 Jul 201119:55
prion
redhatcve
RedhatCVE
CVE-2011-2960
22 May 202509:50
redhatcve
# 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.802156");
  script_version("2023-07-28T05:05:23+0000");
  script_tag(name:"last_modification", value:"2023-07-28 05:05:23 +0000 (Fri, 28 Jul 2023)");
  script_tag(name:"creation_date", value:"2011-09-13 07:51:43 +0200 (Tue, 13 Sep 2011)");
  script_cve_id("CVE-2011-2960");
  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.securityfocus.com/bid/48328");
  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 AG");
  script_family("Buffer overflow");
  script_dependencies("smb_reg_service_pack.nasl");
  script_require_ports(139, 445);
  script_mandatory_keys("SMB/WindowsVersion");
  script_tag(name:"insight", value:"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.");
  script_tag(name:"solution", value:"Vendor has released a patch to fix the issue, please refer
below link for patch information.");
  script_xref(name:"URL", value:"http://www.sunwayland.com.cn/news_info_.asp?Nid=3593");
  script_tag(name:"solution_type", value:"VendorFix");
  script_tag(name:"summary", value:"Sunway ForceControl is prone to a buffer overflow vulnerability.");
  script_tag(name:"impact", value:"Successful exploitation will allow remote attackers to cause
denial of service or execute arbitrary code.");
  script_tag(name:"affected", value:"Sunway ForceControl 6.1 SP1, SP2, and SP3.");
  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))
{
  sunName = registry_get_sz(key:key + item, item:"DisplayName");
  if("Forcecontrol" >< sunName)
  {
    sunVer = registry_get_sz(key:key + item, item:"DisplayVersion");
    if("6.1" >< sunVer)
    {
      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)
        {
          if(version_is_less_equal(version:httpVer, test_version:"6.0.5.3")){
            report = report_fixed_ver(installed_version:httpVer, vulnerable_range:"Less than or equal to 6.0.5.3", install_path:exePath);
            security_message(port: 0, data: report);
          }
        }
      }
    }
  }
}

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