Lucene search

K
openvasCopyright (c) 2010 Greenbone Networks GmbHOPENVAS:801338
HistoryMay 19, 2010 - 12:00 a.m.

IrfanView Buffer Overflow Vulnerabilities

2010-05-1900:00:00
Copyright (c) 2010 Greenbone Networks GmbH
plugins.openvas.org
5

0.131 Low

EPSS

Percentile

95.5%

This host has IrfanView installed and is prone to buffer overflow
vulnerabilities.

###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_irfanview_bof_vuln.nasl 5306 2017-02-16 09:00:16Z teissa $
#
# IrfanView Buffer Overflow Vulnerabilities
#
# Authors:
# Antu Sanadi <[email protected]>
#
# Copyright:
# Copyright (c) 2010 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_insight = "The flaws are due to,
   - A sign extension error when parsing certain 'PSD' images
   - A boundary error when processing certain 'RLE' compressed 'PSD' images.

   These can be exploited to cause a heap-based buffer overflow by tricking a
   user into opening a specially crafted PSD file.";

tag_impact = "Successful exploitation will allow attacker to allow execution of arbitrary
  code or to compromise a user's system.
  Impact Level: System/Application.";
tag_affected = "IrfanView version prior to 4.27";
tag_solution = "Upgrade to version 4.27 or later,
  For updates refer to http://www.irfanview.com";
tag_summary = "This host has IrfanView installed and is prone to buffer overflow
  vulnerabilities.";

if(description)
{
  script_id(801338);
  script_version("$Revision: 5306 $");
  script_tag(name:"last_modification", value:"$Date: 2017-02-16 10:00:16 +0100 (Thu, 16 Feb 2017) $");
  script_tag(name:"creation_date", value:"2010-05-19 14:50:39 +0200 (Wed, 19 May 2010)");
  script_cve_id("CVE-2010-1510", "CVE-2010-1509");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
  script_name("IrfanView Buffer Overflow Vulnerabilities");
  script_xref(name : "URL" , value : "http://secunia.com/advisories/39036");
  script_xref(name : "URL" , value : "http://secunia.com/secunia_research/2010-41");

  script_tag(name:"qod_type", value:"executable_version");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (c) 2010 Greenbone Networks GmbH");
  script_family("Buffer overflow");
  script_dependencies("secpod_irfanview_detect.nasl");
  script_require_keys("IrfanView/Ver");
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  script_tag(name : "insight" , value : tag_insight);
  exit(0);
}


include("version_func.inc");

irViewVer = get_kb_item("IrfanView/Ver");
if(!irViewVer){
  exit(0);
}

# Check for IrfanVies version < 4.27
if(version_is_less(version:irViewVer, test_version:"4.27")){
  security_message(0);
}

0.131 Low

EPSS

Percentile

95.5%