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
CVSS3
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AI Score
Confidence
High
EPSS
Percentile
90.1%
ImageMagick is prone to an integer overflow vulnerability.
# SPDX-FileCopyrightText: 2013 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:imagemagick:imagemagick";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.803814");
script_version("2024-02-28T05:05:37+0000");
script_cve_id("CVE-2012-1185");
script_tag(name:"last_modification", value:"2024-02-28 05:05:37 +0000 (Wed, 28 Feb 2024)");
script_tag(name:"creation_date", value:"2013-06-24 11:06:50 +0530 (Mon, 24 Jun 2013)");
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:"severity_vector", value:"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2020-07-31 18:39:00 +0000 (Fri, 31 Jul 2020)");
script_name("ImageMagick < 6.7.5-1 Integer Overflow Vulnerability (Jun 2013) - Windows");
script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/76140");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/51957");
script_xref(name:"URL", value:"http://www.openwall.com/lists/oss-security/2012/03/19/5");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2013 Greenbone AG");
script_family("Buffer overflow");
script_dependencies("secpod_imagemagick_detect_win.nasl");
script_mandatory_keys("ImageMagick/Win/Installed");
script_tag(name:"impact", value:"Successful exploitation will allow a context-dependent attacker to cause
denial of service condition or potentially execute arbitrary code.");
script_tag(name:"affected", value:"ImageMagick version 6.7.5 and earlier on Windows.");
script_tag(name:"insight", value:"Integer overflow error occurs due to an improper sanitation of user supplied
input when computing the sum of 'number_bytes' and 'offset' in
magick/profile.c or magick/property.c with a specially crafted request.");
script_tag(name:"solution", value:"Upgrade to ImageMagick version 6.7.5-1 or later.");
script_tag(name:"summary", value:"ImageMagick is prone to an integer overflow vulnerability.");
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_is_less( version:vers, test_version:"6.7.5.1" ) ) {
report = report_fixed_ver( installed_version:vers, fixed_version:"6.7.5.1", install_path:path );
security_message( port:0, data:report );
exit( 0 );
}
exit( 99 );
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
CVSS3
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AI Score
Confidence
High
EPSS
Percentile
90.1%