Lucene search
K

Ichitaro Document Handling Unspecified Code Execution Vulnerability

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

Ichitaro Document Handling Unspecified Code Execution Vulnerability. This host is running Ichitaro, which is prone to Unspecified Remote Code Execution Vulnerability. Successful exploitation will allow execution arbitrary code within the context of the vulnerable application. The issue is due to error that exists while processing specially crafted docuement form. Upgrade to Justsystem Ichitaro 2010 or later, For updates refer to http://www.ichitaro.co

Related
Refs
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2008-3919
4 Sep 200818:00
cve
Cvelist
CVE-2008-3919
4 Sep 200818:00
cvelist
EUVD
EUVD-2008-3904
7 Oct 202500:30
euvd
NVD
CVE-2008-3919
4 Sep 200818:41
nvd
OpenVAS
Ichitaro Document Handling Unspecified Code Execution Vulnerability
2 Sep 200800:00
openvas
Prion
Design/Logic Flaw
4 Sep 200818:41
prion
VulnCheck KEV
VulnCheck KEV: CVE-2008-3919
4 Sep 200800:00
vulncheck_kev
##############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_justsystems_ichitaro_code_exec_vuln_900207.nasl 5370 2017-02-20 15:24:26Z cfi $
# Description: Ichitaro Document Handling Unspecified Code Execution Vulnerability
#
# Authors:
# Veerendra GG <[email protected]>
#
# 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 arbitrary code
        within the context of the vulnerable application.
 Impact Level : Application";

tag_affected = "Justsystem Ichitaro 2008 and prior versions on Windows (All).";

tag_insight = "The issue is due to error that exists while processing specially 
        crafted docuement form.";


tag_summary = "This host is running Ichitaro, which is prone to Unspecified Remote
 Code Execution Vulnerability.";

tag_solution = "Upgrade to Justsystem Ichitaro 2010 or later,
 For updates refer to http://www.ichitaro.com";


if(description)
{
 script_id(900207);
 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-3919");
 script_bugtraq_id(30828);
 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("General");
 script_name("Ichitaro Document Handling Unspecified Code Execution Vulnerability");


 script_dependencies("secpod_reg_enum.nasl");
 script_mandatory_keys("SMB/WindowsVersion");
 script_require_ports(139, 445);
 script_tag(name : "solution" , value : tag_solution);
 script_tag(name : "summary" , value : tag_summary);
 script_tag(name : "insight" , value : tag_insight);
 script_tag(name : "affected" , value : tag_affected);
 script_tag(name : "impact" , value : tag_impact);
 script_xref(name : "URL" , value : "http://secunia.com/advisories/31603/");
 script_xref(name : "URL" , value : "http://www.justsystems.com/jp/info/pd8002.html");
 exit(0);
}


 include("smb_nt.inc");

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

 if(!registry_key_exists(key:"SOFTWARE\Justsystem\ATOK")){
        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);
 }
 
 enumKeys = registry_enum_key(soc:soc, uid:uid, tid:tid,
                              pipe:pipe, reply:key_h);
 foreach entry (enumKeys)
 {
        appName = registry_get_sz(item:"DisplayName", key:key + entry);
        if(appName && "ATOK" >< appName)
        {
                if(egrep(pattern:"ATOK ([01][0-9][0-9][0-9]|200[0-8]|" +
			 	 "(9\.|1[0-3]\.)).*", string:appName)){
                        security_message(0);
                }
                exit(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