Lucene search
K

XnView File Search Path Executable File Injection Vulnerability (Windows)

🗓️ 15 Jul 2011 00:00:00Reported by Copyright (c) 2011 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 27 Views

XnView Windows executable file injection vulnerabilit

Related
Refs
Code
###############################################################################
# OpenVAS Vulnerabilities Test
# $Id: gb_xnview_code_exec_vuln_win.nasl 7052 2017-09-04 11:50:51Z teissa $
#
# XnView File Search Path Executable File Injection Vulnerability (Windows)
#
# Authors:
# Shashi Kiran N <[email protected]>
#
# Copyright:
# Copyright (c) 2011 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_summary = "This host has XnView installed and is prone to executable file
  injection vulnerability.

  Vulnerabilities Insight:
  The flaw is caused by an untrusted search path vulnerability when loading
  executables.";

tag_impact = "Successful exploitation will allow attackers to execute arbitrary code on the
  system with elevated privileges.
  Impact Level: System/Application";
tag_affected = "XnView versions prior to 1.98.1 on windows.";
tag_solution = "Update to XnView version 1.98.1 or later.
  For updates refer to http://www.xnview.com/";

if(description)
{
  script_id(802309);
  script_version("$Revision: 7052 $");
  script_tag(name:"last_modification", value:"$Date: 2017-09-04 13:50:51 +0200 (Mon, 04 Sep 2017) $");
  script_tag(name:"creation_date", value:"2011-07-15 12:23:42 +0200 (Fri, 15 Jul 2011)");
  script_cve_id("CVE-2011-1338");
  script_bugtraq_id(48562);
  script_tag(name:"cvss_base", value:"6.9");
  script_tag(name:"cvss_base_vector", value:"AV:L/AC:M/Au:N/C:C/I:C/A:C");
  script_name("XnView File Search Path Executable File Injection Vulnerability (Windows)");
  script_xref(name : "URL" , value : "http://secunia.com/advisories/45127");
  script_xref(name : "URL" , value : "http://xforce.iss.net/xforce/xfdb/68369");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (c) 2011 Greenbone Networks GmbH");
  script_family("General");
  script_dependencies("secpod_xnview_detect_win.nasl");
  script_require_keys("XnView/Win/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:"qod_type", value:"registry");
  script_tag(name:"solution_type", value:"VendorFix");
  exit(0);
}


include("version_func.inc");

## Get XnView from KB
xnviewVer = get_kb_item("XnView/Win/Ver");

if(xnviewVer != NULL)
{
  ## Check for XnView version less than 1.98.1
  if(version_is_less(version:xnviewVer, test_version:"1.98.1")){
   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