6.8 Medium
CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:M/Au:N/C:P/I:P/A:P
7.2 High
AI Score
Confidence
Low
0.146 Low
EPSS
Percentile
95.8%
XnView is prone to multiple heap based buffer overflow vulnerabilities
# SPDX-FileCopyrightText: 2012 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.802444");
script_version("2024-02-15T05:05:40+0000");
script_cve_id("CVE-2012-0276", "CVE-2012-0277", "CVE-2012-0282");
script_tag(name:"cvss_base", value:"6.8");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:P");
script_tag(name:"last_modification", value:"2024-02-15 05:05:40 +0000 (Thu, 15 Feb 2024)");
script_tag(name:"creation_date", value:"2012-07-24 15:21:56 +0530 (Tue, 24 Jul 2012)");
script_name("XnView Multiple Image Decompression Heap Overflow Vulnerabilities - Windows");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2012 Greenbone AG");
script_family("Buffer overflow");
script_dependencies("secpod_xnview_detect_win.nasl");
script_mandatory_keys("XnView/Win/Ver");
script_tag(name:"summary", value:"XnView is prone to multiple heap based buffer overflow vulnerabilities");
script_tag(name:"insight", value:"The following vulnerabilities exist:
- Insufficient validation when decompressing SGI32LogLum compressed
TIFF images.
- Insufficient validation when decompressing SGI32LogLum compressed TIFF
images where the PhotometricInterpretation encoding is set to LogL.
- Insufficient validation when decompressing PCT images.
- An indexing error when processing the ImageDescriptor structure of GIF
images.");
script_tag(name:"impact", value:"Successful exploitation will allow attackers to execute arbitrary code on the
system or cause a denial of service condition.");
script_tag(name:"affected", value:"XnView versions prior to 1.99 on Windows");
script_tag(name:"solution", value:"Update to XnView version 1.99 or later.");
script_tag(name:"qod_type", value:"registry");
script_tag(name:"solution_type", value:"VendorFix");
script_xref(name:"URL", value:"http://www.exploit-db.com/exploits/19336/");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/54125");
script_xref(name:"URL", value:"http://www.exploit-db.com/exploits/19337/");
script_xref(name:"URL", value:"http://www.exploit-db.com/exploits/19338/");
script_xref(name:"URL", value:"http://newsgroup.xnview.com/viewtopic.php?f=35&t=25858");
script_xref(name:"URL", value:"http://www.protekresearchlab.com/index.php?option=com_content&view=article&id=48");
script_xref(name:"URL", value:"http://www.protekresearchlab.com/index.php?option=com_content&view=article&id=49");
script_xref(name:"URL", value:"http://www.protekresearchlab.com/index.php?option=com_content&view=article&id=50");
exit(0);
}
include("version_func.inc");
if( !version = get_kb_item( "XnView/Win/Ver" ) )
exit( 0 );
if( version_is_less( version:version, test_version:"1.99" ) ) {
report = report_fixed_ver(installed_version:version, fixed_version:"1.99");
security_message(port:0, data:report);
exit( 0 );
}
exit(99);
newsgroup.xnview.com/viewtopic.php?f=35&t=25858
www.exploit-db.com/exploits/19336/
www.exploit-db.com/exploits/19337/
www.exploit-db.com/exploits/19338/
www.protekresearchlab.com/index.php?option=com_content&view=article&id=48
www.protekresearchlab.com/index.php?option=com_content&view=article&id=49
www.protekresearchlab.com/index.php?option=com_content&view=article&id=50
www.securityfocus.com/bid/54125