Lucene search

K
nessusThis script is Copyright (C) 2014-2018 Tenable Network Security, Inc.MACOSX_AUTODESK_SKETCHBOOK_PRO_CVE-2013-5365.NASL
HistoryAug 25, 2014 - 12:00 a.m.

Autodesk SketchBook Pro < 6.2.5 / SketchBook Copic Edition < 2.0.2 Heap Buffer Overflow

2014-08-2500:00:00
This script is Copyright (C) 2014-2018 Tenable Network Security, Inc.
www.tenable.com
18

CVSS2

9.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:M/Au:N/C:C/I:C/A:C

EPSS

0.058

Percentile

93.4%

The version of Autodesk SketchBook installed on the remote Mac OS X host is Pro prior to 6.2.5 or Copic Edition prior to 2.0.2. It is, therefore, affected by a heap-based buffer overflow vulnerability. The flaw exists when decompressing RLE-compressed channel data in PSD files, since user-supplied input is not correctly validated. Using a specially crafted PSD file, an attacker could cause a denial of service or execute arbitrary code.

#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
  script_id(77371);
  script_version("1.2");
  script_cvs_date("Date: 2018/07/14  1:59:36");

  script_cve_id("CVE-2013-5365");
  script_bugtraq_id(66563);

  script_name(english:"Autodesk SketchBook Pro < 6.2.5 / SketchBook Copic Edition < 2.0.2 Heap Buffer Overflow");
  script_summary(english:"Checks the Autodesk SketchBook version.");

  script_set_attribute(attribute:"synopsis", value:
"The remote host has a graphics editing application installed that is
affected by a heap-based buffer overflow vulnerability.");
  script_set_attribute(attribute:"description", value:
"The version of Autodesk SketchBook installed on the remote Mac OS X
host is Pro prior to 6.2.5 or Copic Edition prior to 2.0.2. It is,
therefore, affected by a heap-based buffer overflow vulnerability. The
flaw exists when decompressing RLE-compressed channel data in PSD
files, since user-supplied input is not correctly validated. Using a
specially crafted PSD file, an attacker could cause a denial of
service or execute arbitrary code.");
  # http://blog.sketchbook.com/news/important-security-update-for-sketchbook.html
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?63a1d7df");
  script_set_attribute(attribute:"solution", value:"Upgrade to SketchBook Pro 6.2.5 / Copic Edition 2.0.2 or later.");
  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:U/RL:OF/RC:C");
  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"false");

  script_set_attribute(attribute:"vuln_publication_date", value:"2014/04/01");
  script_set_attribute(attribute:"patch_publication_date", value:"2014/03/31");
  script_set_attribute(attribute:"plugin_publication_date", value:"2014/08/25");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:autodesk:sketchbook");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:autodesk:sketchbook_pro");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:autodesk:sketchbook_copic");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"MacOS X Local Security Checks");

  script_copyright(english:"This script is Copyright (C) 2014-2018 Tenable Network Security, Inc.");

  script_dependencies("macosx_autodesk_sketchbook_pro_installed.nbin");
  script_require_keys("Host/MacOSX/Version","installed_sw/Autodesk SketchBook");

  exit(0);
}

include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("install_func.inc");

if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
if (!get_kb_item("Host/MacOSX/Version")) audit(AUDIT_OS_NOT, "Mac OS X");

appname = 'Autodesk SketchBook';
get_install_count(app_name:appname, exit_if_zero:TRUE);

install = get_single_install(app_name:appname,exit_if_unknown_ver:TRUE);
version = install["version"];
path    = install["path"];
edition = install["edition"];

fix = '6.2.5';
if(edition == "Copic")
  fix = '2.0.2';

# Only check 6.x branch for pro/express, no edition means 7.x+
# Only check 2.x of Copic, 1.x corresponds to 5.x of Pro
if(
  isnull(edition) ||
  (edition =~ "(Pro|Express)" && version !~ "^6\.") ||
  ("Copic" >< edition && version !~ "^2\.")
) audit(AUDIT_INST_PATH_NOT_VULN, appname, version, path);

# Vendor is somewhat unclear whether previous versions
# are vulnerable, other sources seem to indicate they
# are
if (ver_compare(ver:version,fix:fix,strict:FALSE) < 0)
{
  report =
    '\n  Product           : ' + appname + " " + edition +
    '\n  Path              : ' + path +
    '\n  Installed version : ' + version+
    '\n  Fixed version     : ' + fix + '\n';
}
else audit(AUDIT_INST_PATH_NOT_VULN, appname, version, path);

if (report_verbosity > 0) security_hole(port:0, extra:report);
else security_hole(0);

CVSS2

9.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:M/Au:N/C:C/I:C/A:C

EPSS

0.058

Percentile

93.4%

Related for MACOSX_AUTODESK_SKETCHBOOK_PRO_CVE-2013-5365.NASL