CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
COMPLETE
Integrity Impact
COMPLETE
Availability Impact
COMPLETE
AV:N/AC:L/Au:N/C:C/I:C/A:C
AI Score
Confidence
High
EPSS
Percentile
94.1%
GraphicsMagick graphics tool is prone to multiple buffer overflow/underflow vulnerabilities.
# SPDX-FileCopyrightText: 2009 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
CPE = "cpe:/a:graphicsmagick:graphicsmagick";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.800515");
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:"2009-02-18 15:32:11 +0100 (Wed, 18 Feb 2009)");
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-6070", "CVE-2008-6071", "CVE-2008-6072", "CVE-2008-6621");
script_name("GraphicsMagick Multiple Vulnerabilities - Windows");
script_xref(name:"URL", value:"http://secunia.com/advisories/30549");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/29583");
script_xref(name:"URL", value:"http://www.vupen.com/english/advisories/2008/1767");
script_xref(name:"URL", value:"http://sourceforge.net/project/shownotes.php?release_id=604837");
script_xref(name:"URL", value:"http://cvs.graphicsmagick.org/cgi-bin/cvsweb.cgi/GraphicsMagick/coders/dpx.c");
script_xref(name:"URL", value:"http://cvs.graphicsmagick.org/cgi-bin/cvsweb.cgi/GraphicsMagick/coders/xcf.c");
script_xref(name:"URL", value:"http://cvs.graphicsmagick.org/cgi-bin/cvsweb.cgi/GraphicsMagick/coders/pict.c");
script_xref(name:"URL", value:"http://cvs.graphicsmagick.org/cgi-bin/cvsweb.cgi/GraphicsMagick/coders/cineon.c");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2009 Greenbone AG");
script_family("Buffer overflow");
script_dependencies("gb_graphicsmagick_detect_win.nasl");
script_mandatory_keys("GraphicsMagick/Win/Installed");
script_tag(name:"affected", value:"GraphicsMagick version prior to 1.1.14 and 1.2.3 on Windows.");
script_tag(name:"insight", value:"Multiple flaws due to:
- two boundary errors within the ReadPALMImage function in coders/palm.c,
- a boundary error within the DecodeImage function in coders/pict.a,
- unknown errors within the processing of XCF, DPX, and CINEON images.
- error exists while processing malformed data in DPX which causes input
validation vulnerability.");
script_tag(name:"solution", value:"Update to version 1.1.14 or 1.2.3.");
script_tag(name:"summary", value:"GraphicsMagick graphics tool is prone to multiple buffer overflow/underflow vulnerabilities.");
script_tag(name:"impact", value:"A remote user could execute arbitrary code on the target system and can
cause denial-of-service or compromise a vulnerable system via specially
crafted PALM, PICT, XCF, DPX, and CINEON images.");
script_tag(name:"qod_type", value:"registry");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("host_details.inc");
include("version_func.inc");
if(!infos = get_app_version_and_location( cpe:CPE, exit_no_version:TRUE )) exit(0);
vers = infos['version'];
path = infos['location'];
if( version_in_range( version:vers, test_version:"1.0", test_version2:"1.1.13" ) ||
version_in_range( version:vers, test_version:"1.2", test_version2:"1.2.2" ) ) {
report = report_fixed_ver( installed_version:vers, fixed_version:"1.1.14/1.2.3", install_path:path );
security_message( port:0, data:report );
exit( 0 );
}
exit( 99 );
cvs.graphicsmagick.org/cgi-bin/cvsweb.cgi/GraphicsMagick/coders/cineon.c
cvs.graphicsmagick.org/cgi-bin/cvsweb.cgi/GraphicsMagick/coders/dpx.c
cvs.graphicsmagick.org/cgi-bin/cvsweb.cgi/GraphicsMagick/coders/pict.c
cvs.graphicsmagick.org/cgi-bin/cvsweb.cgi/GraphicsMagick/coders/xcf.c
secunia.com/advisories/30549
sourceforge.net/project/shownotes.php?release_id=604837
www.securityfocus.com/bid/29583
www.vupen.com/english/advisories/2008/1767