Vulnerabilities > CVE-2013-5365 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in Autodesk products

047910
CVSS 9.3 - CRITICAL
Attack vector
NETWORK
Attack complexity
MEDIUM
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
autodesk
CWE-119
critical
nessus

Summary

Heap-based buffer overflow in Autodesk SketchBook for Enterprise 2014, Pro, and Express before 6.25, and Copic Edition before 2.0.2 allows remote attackers to execute arbitrary code via RLE-compressed channel data in a PSD file.

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.

Nessus

  • NASL familyMacOS X Local Security Checks
    NASL idMACOSX_AUTODESK_SKETCHBOOK_PRO_CVE-2013-5365.NASL
    descriptionThe 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.
    last seen2020-06-01
    modified2020-06-02
    plugin id77371
    published2014-08-25
    reporterThis script is Copyright (C) 2014-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/77371
    titleAutodesk SketchBook Pro < 6.2.5 / SketchBook Copic Edition < 2.0.2 Heap Buffer Overflow
    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);
    
  • NASL familyWindows
    NASL idAUTODESK_SKETCHBOOK_PRO_CVE-2013-5365.NASL
    descriptionThe version of Autodesk SketchBook installed on the remote 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.
    last seen2020-06-01
    modified2020-06-02
    plugin id77369
    published2014-08-25
    reporterThis script is Copyright (C) 2014-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/77369
    titleAutodesk SketchBook Pro < 6.2.5 / SketchBook Copic Edition < 2.0.2 Heap Buffer Overflow
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(77369);
      script_version("1.2");
      script_cvs_date("Date: 2018/06/27 18:42:27");
    
      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 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:"Windows");
    
      script_copyright(english:"This script is Copyright (C) 2014-2018 Tenable Network Security, Inc.");
    
      script_dependencies("autodesk_sketchbook_pro_installed.nbin");
      script_require_keys("SMB/Registry/Enumerated", "installed_sw/Autodesk SketchBook");
    
      exit(0);
    }
    
    include("audit.inc");
    include("global_settings.inc");
    include("misc_func.inc");
    include("install_func.inc");
    
    get_kb_item_or_exit("SMB/Registry/Enumerated");
    
    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"];
    
    port = get_kb_item("SMB/transport");
    if (!port) port = 445;
    
    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:port, extra:report);
    else security_hole(port);
    

Seebug

bulletinFamilyexploit
descriptionBugtraq ID:66563 CVE ID:CVE-2013-5365 Autodesk SketchBook Pro是速写簿软件。 Autodesk SketchBook Pro解压PSD文件内的RLE压缩通道数据时存在边界错误,这可使远程攻击者通过特制的PSD文件,利用此漏洞造成堆缓冲区溢出。 0 Autodesk SketchBook Pro 6.2.4 (build 425798) for Windo 目前厂商已经发布了升级补丁以修复漏洞,请下载使用: http://www.autodesk.com.cn/adsk/servlet/index?id=9297866&amp;siteID=1170359
idSSV:62046
last seen2017-11-19
modified2014-04-03
published2014-04-03
reporterRoot
titleAutodesk SketchBook Pro PSD通道RLE解压缓冲区溢出漏洞