Lucene search

K
openvasCopyright (C) 2009 Greenbone AGOPENVAS:1361412562310800517
HistoryFeb 18, 2009 - 12:00 a.m.

GraphicsMagick Multiple Vulnerabilities - Linux

2009-02-1800:00:00
Copyright (C) 2009 Greenbone AG
plugins.openvas.org
9

7.7 High

AI Score

Confidence

High

0.072 Low

EPSS

Percentile

94.0%

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

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.800517");
  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 - Linux");
  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_lin.nasl");
  script_mandatory_keys("GraphicsMagick/Linux/Ver");
  script_tag(name:"affected", value:"GraphicsMagick version prior to 1.1.14 and 1.2.3 on Linux.");
  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:"executable_version_unreliable");
  script_tag(name:"solution_type", value:"VendorFix");
  exit(0);
}

include("version_func.inc");

gmVer = get_kb_item("GraphicsMagick/Linux/Ver");
if(!gmVer)
  exit(0);

if(version_in_range(version:gmVer, test_version:"1.0", test_version2:"1.1.13") ||
   version_in_range(version:gmVer, test_version:"1.2", test_version2:"1.2.2")){
  security_message( port: 0, data: "The target host was found to be vulnerable" );
}

7.7 High

AI Score

Confidence

High

0.072 Low

EPSS

Percentile

94.0%