Vulnerabilities > CVE-2018-12810 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Adobe Photoshop CC

047910
CVSS 9.8 - CRITICAL
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
HIGH
Integrity impact
HIGH
Availability impact
HIGH
network
low complexity
adobe
CWE-119
critical
nessus

Summary

Adobe Photoshop CC 2018 before 19.1.6 and Photoshop CC 2017 before 18.1.6 have a memory corruption vulnerability. Successful exploitation could lead to remote code execution.

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 idMACOS_ADOBE_PHOTOSHOP_APSB18-28.NASL
    descriptionThe version of Adobe Photoshop CC installed on the remote macOS or Mac OS X host is 18.x prior to 18.1.6 (2017.1.6) or 19.x prior to 19.1.6 (2018.1.6). It is, therefore, affected by two unspecified remote code execution vulnerabilities.
    last seen2020-06-01
    modified2020-06-02
    plugin id112060
    published2018-08-22
    reporterThis script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/112060
    titleAdobe Photoshop CC 18.x < 18.1.6 / 19.x < 19.1.6 Multiple Vulnerabilities (APSB18-28) (macOS)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(112060);
      script_version("1.6");
      script_cvs_date("Date: 2019/11/04");
    
      script_cve_id("CVE-2018-12810", "CVE-2018-12811");
      script_bugtraq_id(105123);
    
      script_name(english:"Adobe Photoshop CC 18.x < 18.1.6 / 19.x < 19.1.6 Multiple Vulnerabilities (APSB18-28) (macOS)");
      script_summary(english:"Checks the Photoshop version.");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote host has an application installed that is affected by two
    remote code execution vulnerabilities.");
      script_set_attribute(attribute:"description", value:
    "The version of Adobe Photoshop CC installed on the remote macOS or
    Mac OS X host is 18.x prior to 18.1.6 (2017.1.6) or
    19.x prior to 19.1.6 (2018.1.6). It is, therefore, affected by two
    unspecified remote code execution vulnerabilities.");
      script_set_attribute(attribute:"see_also", value:"https://helpx.adobe.com/security/products/photoshop/apsb18-28.html");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to Adobe Photoshop CC 18.1.6 (2017.1.6), 19.1.6 (2018.1.6),
    or later.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2018-12810");
    
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2018/08/22");
      script_set_attribute(attribute:"patch_publication_date", value:"2018/08/22");
      script_set_attribute(attribute:"plugin_publication_date", value:"2018/08/22");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:adobe:photoshop_cc");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"MacOS X Local Security Checks");
    
      script_copyright(english:"This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("macosx_adobe_photoshop_installed.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/MacOSX/Version", "installed_sw/Adobe Photoshop");
    
      exit(0);
    }
    
    include("global_settings.inc");
    include("misc_func.inc");
    include("audit.inc");
    include("install_func.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    
    os = get_kb_item('Host/MacOSX/Version');
    if (!os) audit(AUDIT_OS_NOT, 'Mac OS X');
    
    app = 'Adobe Photoshop';
    install = get_single_install(app_name:app, exit_if_unknown_ver:TRUE);
    
    product = install['name'];
    if ("CC" >!< product)
      exit(0, "Only Adobe Photoshop CC is affected.");
    
    path    = install['path'];
    version = install['version'];
    
    # Version 18.x < 18.1.6 Vuln
    if ( version =~ "^18\." )
      fix = '18.1.6';
    # Version 19.x < 19.1.6 Vuln
    else if ( version =~ "^19\." )
      fix = '19.1.6';
    else
      audit(AUDIT_NOT_INST, app + " 18.x or 19.x");
    
    if (ver_compare(ver:version, fix:fix, strict:FALSE) < 0)
    {
      report = '\n  Product           : ' + product +
               '\n  Path              : ' + path +
               '\n  Installed version : ' + version +
               '\n  Fixed version     : ' + fix;
    
      security_report_v4(port:0, extra:report, severity:SECURITY_HOLE);
    }
    else audit(AUDIT_INST_VER_NOT_VULN, app + " CC", version);
    
  • NASL familyWindows
    NASL idADOBE_PHOTOSHOP_APSB18-28.NASL
    descriptionThe version of Adobe Photoshop CC installed on the remote Windows host is 18.x prior to 18.1.6 (2017.1.6) or 19.x prior to 19.1.6 (2018.1.6). It is, therefore, affected by two unspecified remote code execution vulnerabilities.
    last seen2020-06-01
    modified2020-06-02
    plugin id112061
    published2018-08-22
    reporterThis script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/112061
    titleAdobe Photoshop CC 18.x < 18.1.6 / 19.x < 19.1.6 Multiple Vulnerabilities (APSB18-28)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(112061);
      script_version("1.6");
      script_cvs_date("Date: 2019/11/04");
    
      script_cve_id("CVE-2018-12810", "CVE-2018-12811");
      script_bugtraq_id(105123);
    
      script_name(english:"Adobe Photoshop CC 18.x < 18.1.6 / 19.x < 19.1.6 Multiple Vulnerabilities (APSB18-28)");
      script_summary(english:"Checks the Photoshop version.");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote host has an application installed that is affected by two
    remote code execution vulnerabilities.");
      script_set_attribute(attribute:"description", value:
    "The version of Adobe Photoshop CC installed on the remote Windows host
    is 18.x prior to 18.1.6 (2017.1.6) or 19.x prior to 19.1.6 (2018.1.6).
    It is, therefore, affected by two unspecified remote code execution
    vulnerabilities.");
      script_set_attribute(attribute:"see_also", value:"https://helpx.adobe.com/security/products/photoshop/apsb18-28.html");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to Adobe Photoshop CC 18.1.6 (2017.1.6), 19.1.6 (2018.1.6)
    or later.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2018-12810");
    
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2018/08/22");
      script_set_attribute(attribute:"patch_publication_date", value:"2018/08/22");
      script_set_attribute(attribute:"plugin_publication_date", value:"2018/08/22");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:adobe:photoshop_cc");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"Windows");
    
      script_copyright(english:"This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("adobe_photoshop_installed.nasl");
      script_require_keys("installed_sw/Adobe Photoshop", "SMB/Registry/Enumerated");
    
      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");
    
    app_name = "Adobe Photoshop";
    install  = get_single_install(app_name: app_name, exit_if_unknown_ver: TRUE);
    
    product_name = install['Product'];
    if ("CC" >!< product_name)
      exit(0, "Only Adobe Photoshop CC is affected.");
    
    ver    = install['version'];
    path   = install['path'];
    ver_ui = install['display_version'];
    
    # Version 18.x < 18.1.6 Vuln
    if ( ver =~ "^18\." )
      fix = '18.1.6';
    # Version 19.x < 19.1.6 Vuln
    else if ( ver =~ "^19\." )
      fix = '19.1.6';
    else
      audit(AUDIT_NOT_INST, app_name + " 18.x or 19.x");
    
    if (ver_compare(ver: ver, fix: fix, strict:FALSE) < 0)
    {
      port = get_kb_item("SMB/transport");
      if (isnull(port)) port = 445;
    
      report = '\n  Product           : ' + product_name +
               '\n  Path              : ' + path +
               '\n  Installed version : ' + ver_ui +
               '\n  Fixed version     : ' + fix +
               '\n';
    
      security_report_v4(port:port, extra:report, severity:SECURITY_HOLE);
    }
    else audit(AUDIT_INST_PATH_NOT_VULN, app_name, ver_ui, path);
    

The Hacker News

idTHN:20E9F45E1CDA535321A180210D69339A
last seen2018-08-22
modified2018-08-22
published2018-08-22
reporterThe Hacker News
sourcehttps://thehackernews.com/2018/08/adobe-photoshop-update.html
titleAdobe Issues Emergency Patches for Critical Flaws in Photoshop CC