Lucene search
K

Ultra Office ActiveX Control Multiple Vulnerabilities

🗓️ 02 Sep 2008 00:00:00Reported by Copyright (C) 2008 SecPodType 
openvas
 openvas
🔗 plugins.openvas.org👁 19 Views

Ultra Office ActiveX Control Multiple Vulnerabilities. Host prone to multiple vulnerabilities

Related
Refs
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2008-3878
27 Aug 200800:00
circl
CVE
CVE-2008-3878
2 Sep 200815:00
cve
Cvelist
CVE-2008-3878
2 Sep 200815:00
cvelist
Exploit DB
Ultra Shareware Office Control - ActiveX HttpUpload Buffer Overflow (Metasploit)
20 Sep 201000:00
exploitdb
Metasploit
Ultra Shareware Office Control ActiveX HttpUpload Buffer Overflow
4 Mar 201006:19
metasploit
NVD
CVE-2008-3878
2 Sep 200815:41
nvd
OpenVAS
Ultra Office ActiveX Control Multiple Vulnerabilities
2 Sep 200800:00
openvas
Packet Storm
Ultra Shareware Office Control ActiveX HttpUpload Buffer Overflow
5 Mar 201000:00
packetstorm
Prion
Stack overflow
2 Sep 200815:41
prion
Positive Technologies
PT-2008-5213 · Unknown · Ultra Office Control
2 Sep 200800:00
ptsecurity
Rows per page
##############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_ultra_office_activex_control_mult_vuln_900208.nasl 5370 2017-02-20 15:24:26Z cfi $
# Description: Ultra Office ActiveX Control Multiple Vulnerabilities
#
# Authors:
# Veerendra GG <[email protected]>
#
# Updated By: Sooraj KS <[email protected]> on 2011-07-18
#   - Added null check
#
# Copyright:
# Copyright (C) 2008 SecPod, http://www.secpod.com
#
# 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 execution of arbitrary
        code, stack-based buffer overflow, can overwrite arbitrary files
        on the vulnerable system by tricking a user into visiting a
        malicious website.
 Impact Level : Application";

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.

A workaround is to Set a kill bit for the CLSID {00989888-BB72-4E31-A7C6-5F819C24D2F7} ";

tag_affected = "Ultra Office Control 2.x and prior versions on Windows (All).";

tag_insight = "Error exists when handling parameters received by the HttpUpload()
        and Save() methods in OfficeCtrl.ocx file.";


tag_summary = "This host is running Ultra Office Control, which is prone to
 multiple vulnerabilities.";


if(description)
{
 script_id(900208);
 script_version("$Revision: 5370 $");
 script_tag(name:"last_modification", value:"$Date: 2017-02-20 16:24:26 +0100 (Mon, 20 Feb 2017) $");
 script_tag(name:"creation_date", value:"2008-09-02 07:39:00 +0200 (Tue, 02 Sep 2008)");
 script_cve_id("CVE-2008-3878");
 script_bugtraq_id(30861);
 script_copyright("Copyright (C) 2008 SecPod");
 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_category(ACT_GATHER_INFO);
  script_tag(name:"qod_type", value:"registry");
 script_family("Denial of Service");
 script_name("Ultra Office ActiveX Control Multiple Vulnerabilities");

 script_dependencies("secpod_reg_enum.nasl");
 script_mandatory_keys("SMB/WindowsVersion");
 script_require_ports(139, 445);
 script_xref(name : "URL" , value : "http://secunia.com/advisories/31632/");
 script_xref(name : "URL" , value : "http://www.juniper.net/security/auto/vulnerabilities/vuln30861.html");
 script_tag(name : "summary" , value : tag_summary);
 script_tag(name : "insight" , value : tag_insight);
 script_tag(name : "affected" , value : tag_affected);
 script_tag(name : "solution" , value : tag_solution);
 script_tag(name : "impact" , value : tag_impact);
 script_tag(name:"solution_type", value:"WillNotFix");
 exit(0);
}


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

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

 name   =  kb_smb_name();
 login  =  kb_smb_login();
 pass   =  kb_smb_password();
 domain =  kb_smb_domain();
 port   =  kb_smb_transport();

 if(!port) port = 139;

 if(!get_port_state(port))exit(0);

 soc = open_sock_tcp(port);
 if(!soc){
        exit(0);
 }

 r = smb_session_request(soc:soc, remote:name);
 if(!r)
 {
        close(soc);
        exit(0);
 }

 prot = smb_neg_prot(soc:soc);
 if(!prot)
 {
        close(soc);
        exit(0);
 }

 r = smb_session_setup(soc:soc, login:login, password:pass,
                       domain:domain, prot:prot);
 if(!r)
 {
        close(soc);
        exit(0);
 }


 uid = session_extract_uid(reply:r);
 if(!uid)
 {
        close(soc);
        exit(0);
 }

 r = smb_tconx(soc:soc, name:name, uid:uid, share:"IPC$");
 if(!r)
 {
        close(soc);
        exit(0);
 }

 tid = tconx_extract_tid(reply:r);
 if(!tid)
 {
        close(soc);
        exit(0);
 }

 r = smbntcreatex(soc:soc, uid:uid, tid:tid, name:"\winreg");
 if(!r)
 {
        close(soc);
        exit(0);
 }

 pipe = smbntcreatex_extract_pipe(reply:r);
 if(!pipe)
 {
        close(soc);
        exit(0);
 }

 r = pipe_accessible_registry(soc:soc, uid:uid, tid:tid, pipe:pipe);
 if(!r)
 {
        close(soc);
        exit(0);
 }

 handle = registry_open_hklm(soc:soc, uid:uid, tid:tid, pipe:pipe);
 if(!handle)
 {
        close(soc);
        exit(0);
 }

 key = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\";
 key_h = registry_get_key(soc:soc, uid:uid, tid:tid, pipe:pipe,
                          key:key, reply:handle);
 if(!key_h)
 {
        close(soc);
        exit(0);
 }

 # To get application installed Path.
 enumKeys = registry_enum_key(soc:soc, uid:uid, tid:tid, pipe:pipe, reply:key_h);
 close(soc);

 foreach entry (enumKeys)
 {
        if("Ultra Office Control" >< entry)
        {
                appInsLoc = registry_get_sz(item:"InstallLocation", key:key + entry);
                if(!appInsLoc){
                        exit(0);
                }
		break;
        }
 }

 if(!appInsLoc){
   exit(0);
 }

 # To Get File Version.
 share = ereg_replace(pattern:"([A-Z]):.*", replace:"\1$", string:appInsLoc);
 file =  ereg_replace(pattern:"[A-Z]:(.*)", replace:"\1",
                      string:appInsLoc + "OfficeCtrl.ocx");

 soc = open_sock_tcp(port);
 if(!soc){
        exit(0);
 }

 r = smb_session_request(soc:soc, remote:name);
 if(!r)
 {
        close(soc);
        exit(0);
 }

 prot = smb_neg_prot(soc:soc);
 if(!prot)
 {
        close(soc);
        exit(0);
 }

 r = smb_session_setup(soc:soc, login:login, password:pass, domain:domain, prot:prot);
 if(!r)
 {
        close(soc);
        exit(0);
 }

 uid = session_extract_uid(reply:r);
 r = smb_tconx(soc:soc, name:name, uid:uid, share:share);

 tid = tconx_extract_tid(reply:r);
 if(!tid)
 {
        close(soc);
        exit(0);
 }

 fid = OpenAndX(socket:soc, uid:uid, tid:tid, file:file);
 if(!fid)
 {
        close(soc);
	exit(0);
 }

 fileVer = GetVersion(socket:soc, uid:uid, tid:tid, fid:fid);
 close(soc);

 if(!fileVer){
	exit(0);
 }

 # Grep for Version <= 2.0.2008.801  
 if(egrep(pattern:"^([01]\..*|2\.0\.[01]?[0-9]?[0-9]?[0-9]\..*|2\.0\.200[0-7]" +
		  "\..*|2\.0\.2008(\.[0-7]?[0-9]?[0-9]|\.80[01]))$", string:fileVer))
 {
        clsid = "{00989888-BB72-4E31-A7C6-5F819C24D2F7}";
        regKey = "SOFTWARE\Classes\CLSID\"+ clsid;
        if(registry_key_exists(key:regKey))
        {
                # Check for Kill-Bit set for ActiveX control
                activeKey = "SOFTWARE\Microsoft\Internet Explorer\"+
                            "ActiveX Compatibility\" + clsid;
                killBit = registry_get_dword(key:activeKey,
                          		     item:"Compatibility Flags");
                if(killBit && (int(killBit) == 1024)){
                        exit(0);
                }
                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