9.3 High
CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
COMPLETE
Integrity Impact
COMPLETE
Availability Impact
COMPLETE
AV:N/AC:M/Au:N/C:C/I:C/A:C
6.8 Medium
AI Score
Confidence
High
0.068 Low
EPSS
Percentile
93.9%
XnView is prone to an integer overflow vulnerability.
# SPDX-FileCopyrightText: 2010 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.900754");
script_version("2024-02-15T05:05:39+0000");
script_tag(name:"last_modification", value:"2024-02-15 05:05:39 +0000 (Thu, 15 Feb 2024)");
script_tag(name:"creation_date", value:"2010-03-30 16:15:33 +0200 (Tue, 30 Mar 2010)");
script_cve_id("CVE-2009-4001");
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_name("XnView DICOM Parsing Integer Overflow Vulnerability - Linux");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2010 Greenbone AG");
script_family("Buffer overflow");
script_dependencies("secpod_xnview_detect_lin.nasl");
script_mandatory_keys("XnView/Linux/Ver");
script_tag(name:"summary", value:"XnView is prone to an integer overflow vulnerability.");
script_tag(name:"insight", value:"The flaw is due to an integer overflow when processing DICOM images with
certain dimensions. This can be exploited to cause a heap-based buffer
overflow by persuading a victim to open a specially-crafted DICOM image
file.");
script_tag(name:"impact", value:"Attackers can exploit this issue to cause a buffer overflow and execute
arbitrary code on the system with elevated privileges or cause the
application to crash.");
script_tag(name:"affected", value:"XnView versions prior to 1.97.2 on linux");
script_tag(name:"solution", value:"Update to XnView version 1.97.2");
script_tag(name:"qod_type", value:"executable_version");
script_tag(name:"solution_type", value:"VendorFix");
script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/56802");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/38629");
script_xref(name:"URL", value:"http://www.securityfocus.com/archive/1/archive/1/509999/100/0/threaded");
exit(0);
}
include("version_func.inc");
if(!version = get_kb_item("XnView/Linux/Ver"))
exit(0);
if(version_is_less(version:version, test_version:"1.97.2")) {
report = report_fixed_ver(installed_version:version, fixed_version:"1.97.2");
security_message(port: 0, data: report);
exit(0);
}
exit(99);