Lucene search
K

TUGzip zip File Buffer Overflow Vulnerability

🗓️ 31 Oct 2008 00:00:00Reported by Copyright (C) 2008 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 24 Views

TUGzip zip File Buffer Overflow Vulnerability. Application prone to Buffer Overflow

Related
Refs
Code
ReporterTitlePublishedViews
Family
0day.today
TugZip 3.5 Zip File Parsing Buffer Overflow Vulnerability
10 Oct 201100:00
zdt
CVE
CVE-2008-4779
29 Oct 200814:00
cve
Cvelist
CVE-2008-4779
29 Oct 200814:00
cvelist
Exploit DB
TugZip 3.5 Archiver - '.ZIP' File Parsing Buffer Overflow (Metasploit)
11 Oct 201100:00
exploitdb
Metasploit
TugZip 3.5 Zip File Parsing Buffer Overflow Vulnerability
11 Oct 201103:28
metasploit
NVD
CVE-2008-4779
29 Oct 200814:22
nvd
OpenVAS
TUGzip zip File Buffer Overflow Vulnerability
31 Oct 200800:00
openvas
Packet Storm
TugZip 3.5 Zip File Parsing Buffer Overflow
12 Oct 201100:00
packetstorm
Prion
Stack overflow
29 Oct 200814:22
prion
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_tugzip_file_bof_vuln.nasl 5370 2017-02-20 15:24:26Z cfi $
#
# TUGzip zip File Buffer Overflow Vulnerability
#
# Authors:
# Veerendra GG <[email protected]>
#
# Copyright:
# Copyright (c) 2008 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 allows attackers to execute arbitrary code by
  tricking a user into opening a specially crafted archive or can even
  crash an affected application.
  Impact Level: Application/System";
tag_affected = "TUGzip Version 3.5.0.0 and prior on Windows (Any).";
tag_insight = "The flaw exists due to boundary error while processing an archive containing
  an overly long file or directory name.";
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.
For updates refer to http://www.tugzip.com/ ";
tag_summary = "This host is installed with TUGzip, which is prone to Buffer
  Overflow Vulnerability.";

if(description)
{
  script_id(800122);
  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-10-31 15:07:51 +0100 (Fri, 31 Oct 2008)");
  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_cve_id("CVE-2008-4779");
  script_bugtraq_id(31913);
  script_name("TUGzip zip File Buffer Overflow Vulnerability");
  script_xref(name : "URL" , value : "http://secunia.com/advisories/32411");
  script_xref(name : "URL" , value : "http://www.milw0rm.com/exploits/6831");
  script_xref(name : "URL" , value : "http://xforce.iss.net/xforce/xfdb/46120");
  script_xref(name : "URL" , value : "http://www.frsirt.com/english/advisories/2008/2918");

  script_category(ACT_GATHER_INFO);
  script_tag(name:"qod_type", value:"executable_version");
  script_copyright("Copyright (C) 2008 Greenbone Networks GmbH");
  script_family("Denial of Service");
  script_dependencies("secpod_reg_enum.nasl");
  script_mandatory_keys("SMB/WindowsVersion");
  script_require_ports(139, 445);
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  script_tag(name:"solution_type", value:"WillNotFix");
  exit(0);
}


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

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

# Get Application Path
appPath = registry_get_sz(item:"Inno Setup: App Path",
          key:"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\TUGZip_is1");
if(!appPath){
  exit(0);
}

exePath = appPath + "\TUGZip.exe";
share = ereg_replace(pattern:"([A-Z]):.*", replace:"\1$", string:exePath);
file =  ereg_replace(pattern:"[A-Z]:(.*)", replace:"\1", string:exePath);

# Get TUGZip Version
tugZipVer = GetVer(file:file, share:share);
if(!tugZipVer){
  exit(0);
}

if(version_is_less_equal(version:tugZipVer, test_version:"3.5.0.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

20 Feb 2017 00:00Current
0.5Low risk
Vulners AI Score0.5
EPSS0.7879
24