InduSoft Products Buffer Overflo
Source | Link |
---|---|
securityfocus | www.securityfocus.com/bid/47596 |
vupen | www.vupen.com/english/advisories/2011/1116 |
indusoft | www.indusoft.com/hotfixes/hotfixes.php |
secunia | www.secunia.com/advisories/43116 |
# Copyright (C) 2011 Greenbone Networks GmbH
# 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-or-later
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# 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.902376");
script_version("2022-04-28T13:38:57+0000");
script_tag(name:"last_modification", value:"2022-04-28 13:38:57 +0000 (Thu, 28 Apr 2022)");
script_tag(name:"creation_date", value:"2011-05-26 10:47:46 +0200 (Thu, 26 May 2011)");
script_cve_id("CVE-2011-0340");
script_tag(name:"cvss_base", value:"9.3");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:C/I:C/A:C");
script_name("InduSoft Products Multiple Buffer overflow Vulnerabilities");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2011 Greenbone Networks GmbH");
script_family("Buffer overflow");
script_dependencies("smb_reg_service_pack.nasl");
script_require_ports(139, 445);
script_mandatory_keys("SMB/WindowsVersion");
script_xref(name:"URL", value:"http://secunia.com/advisories/43116");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/47596");
script_xref(name:"URL", value:"http://www.indusoft.com/hotfixes/hotfixes.php");
script_xref(name:"URL", value:"http://www.vupen.com/english/advisories/2011/1116");
script_tag(name:"insight", value:"The flaw exists due to a buffer overflow error in the ISSymbol ActiveX
control (ISSymbol.ocx) when processing an overly long 'InternationalOrder',
'InternationalSeparator', 'bstrFileName' or 'LogFileName' property, which
could be exploited by attackers to execute arbitrary code by tricking a user
into visiting a specially crafted web page.");
script_tag(name:"solution", value:"Install the hotfix");
script_tag(name:"summary", value:"Indusoft products is prone to a buffer overflow vulnerability.");
script_tag(name:"impact", value:"Successful exploitation will allow remote attackers to execute arbitrary code.");
script_tag(name:"affected", value:"InduSoft Thin Client version 7.0
InduSoft Web Studio version before 7.0 SP1");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"executable_version");
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))
{
indName = registry_get_sz(key:key + item, item:"DisplayName");
{
indPath = registry_get_sz(key:key + item, item:"InstallLocation");
if(indPath)
{
ocxVer = fetch_file_version(sysPath:indPath, file_name:"ISSymbol.ocx");
if(ocxVer)
{
if(version_is_equal(version:ocxVer, test_version:"301.1009.2904.0") ||
version_is_equal(version:ocxVer, test_version:"61.6.0.0"))
{
security_message( port: 0, data: "The target host was found to be vulnerable" );
exit(0);
}
}
}
}
indName = registry_get_sz(key:key + item, item:"DisplayName");
if("InduSoft Web Studio" >< indName)
{
indPath = registry_get_sz(key:key + item, item:"InstallLocation");
if(indPath)
{
ocxVer = fetch_file_version(sysPath:indPath, file_name:"bin\ISSymbol.ocx");
if(ocxVer)
{
if(version_is_equal(version:ocxVer, test_version:"301.1009.2904.0") ||
version_is_equal(version:ocxVer, test_version:"61.6.0.0")){
security_message( port: 0, data: "The target host was found to be vulnerable" );
}
}
}
}
}
Transform Your Security Services
Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contact us for a demo and discover the difference comprehensive, actionable intelligence can make in your security strategy.
Book a live demo