| Source | Link |
|---|---|
| imagemagick | www.imagemagick.org/script/changelog.php |
| nessus | www.nessus.org/u |
##
# (C) Tenable, Inc.
##
include("compat.inc");
if (description)
{
script_id(91232);
script_version("1.13");
script_set_attribute(attribute:"plugin_modification_date", value:"2026/03/30");
script_bugtraq_id(90611);
script_xref(name:"EDB-ID", value:"39766");
script_name(english:"ImageMagick 6.x < 6.9.4-0 / 7.x < 7.0.1-2 Multiple Vulnerabilities");
script_summary(english:"Checks the version of ImageMagick.");
script_set_attribute(attribute:"synopsis", value:
"The application installed on the remote Windows host is affected by
multiple vulnerabilities.");
script_set_attribute(attribute:"description", value:
"The version of ImageMagick installed on the remote Windows host is 6.x
prior to 6.9.4-0 or 7.x prior to 7.0.1-2. It is, therefore, affected
by the following vulnerabilities :
- A flaw exists in the imagick Extension that allows an
unauthenticated, remote attacker to bypass the
'disable_functions' setting, resulting in the execution
of arbitrary commands or code.
- A buffer overflow condition exists in the
DrawStrokePolygon() function within file magick/draw.c
due to improper validation of user-supplied input. An
unauthenticated, remote attacker can exploit this to
cause a denial of service condition or the execution of
arbitrary code.
- An out-of-bounds read error exists in the
PushShortPixel() function within file coders/psd.c when
handling a specially crafted PSD file. An
unauthenticated, remote attacker can exploit this to
disclose sensitive information or cause a denial of
service condition.
- A buffer overflow condition exists in the
WritePixelCachePixels() function within file cache.c due
to improper validation of user-supplied input. An
unauthenticated, remote attacker can exploit this, via a
specially crafted PICT file, to cause a denial of
service condition or the execution of arbitrary code.
");
script_set_attribute(attribute:"see_also", value:"http://www.imagemagick.org/script/changelog.php");
# https://blog.fuzzing-project.org/45-ImageMagick-heap-overflow-and-out-of-bounds-read.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?81716ecb");
script_set_attribute(attribute:"solution", value:
"Upgrade to ImageMagick version 6.9.4-0 / 7.0.1-2 or later.
Note that you may need to manually uninstall the vulnerable version
from the system.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_set_attribute(attribute:"cvss_score_source", value:"manual");
script_set_attribute(attribute:"cvss_score_rationale", value:"Manual Analysis of the vulnerability");
script_set_attribute(attribute:"vuln_publication_date", value:"2016/05/04");
script_set_attribute(attribute:"patch_publication_date", value:"2016/05/09");
script_set_attribute(attribute:"plugin_publication_date", value:"2016/05/19");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/a:imagemagick:imagemagick");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Windows");
script_copyright(english:"This script is Copyright (C) 2016-2026 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("imagemagick_installed.nasl");
script_require_keys("installed_sw/ImageMagick");
exit(0);
}
include('vdf.inc');
# @tvdl-content
var vuln_data = {
'metadata': {'spec_version': '1.0'},
'checks': [
{
'check_algorithm': 'default',
'product': {'name': 'ImageMagick', 'type': 'app'},
'constraints': [
{'min_version' : '6.0', 'fixed_version' : '6.9.4.0', 'fixed_display' : '6.9.4-0'},
{'min_version' : '7.0', 'fixed_version' : '7.0.1.2', 'fixed_display' : '7.0.1-2'}
]
}
]
};
var result = vdf::check_and_report(vuln_data:vuln_data, severity:SECURITY_HOLE);
vdf::handle_check_and_report_errors(vdf_result:result);
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation